diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-01-22 16:10:53 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-01-22 16:10:53 +0100 |
| commit | d9ca11834e6fa4454231198f98f6403ff4280ca2 (patch) | |
| tree | 66d2cf58a7919295ea9ec4c7d8e4f9e71915c810 /src/lib.rs | |
| parent | cf52e01308cefcce71b9914c539641cb7530b22c (diff) | |
| download | rapier-d9ca11834e6fa4454231198f98f6403ff4280ca2.tar.gz rapier-d9ca11834e6fa4454231198f98f6403ff4280ca2.tar.bz2 rapier-d9ca11834e6fa4454231198f98f6403ff4280ca2.zip | |
Add a VERSION constant containing the package version.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -127,6 +127,8 @@ pub(crate) const INVALID_U32: u32 = u32::MAX; pub(crate) const INVALID_U64: u64 = u64::MAX; pub(crate) const INVALID_USIZE: usize = INVALID_U32 as usize; +pub const VERSION: &'static str = env!("CARGO_PKG_VERSION"); + pub mod counters; pub mod data; pub mod dynamics; |
