moldyn_core/
lib.rs

1//! The main crate of the molecular dynamics simulation. This library exposes the
2//! main components of the simulation.
3//!
4//! # Features
5// //! 
6// //! ### `serde` (default)
7// //! 
8// //! Integrates [serde](https://serde.rs/) support for serializing and deserializing
9// //! simulation data. This feature is enabled by default but can be disabled to
10// //! reduce the binary size of the resulting program.
11//!
12//! ### `nightly`
13//!
14//! Enables features that require a nightly Rust compiler. This feature is
15//! disabled by default, and enabling it may cause the program to be unstable.
16#![crate_name = "moldyn_core"]
17#![cfg_attr(all(test, nightly), feature(test))]
18
19#[cfg(all(test, nightly))]
20extern crate test;
21
22mod forces;
23mod particle;
24mod simulation;
25mod vec3;
26
27pub use forces::*;
28pub use particle::Particle;
29pub use simulation::*;
30pub use vec3::Vec3;