Added VERSION var to all the lib crates

This commit is contained in:
Syrus
2019-01-22 15:26:56 -08:00
parent 38b0fbf3c5
commit 453801b5ff
4 changed files with 12 additions and 0 deletions

View File

@ -71,3 +71,6 @@ fn validate(bytes: &[u8]) -> CompileResult<()> {
}
}
}
/// The current version of this crate
pub const VERSION: &str = env!("CARGO_PKG_VERSION");