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

@ -45,3 +45,6 @@ pub fn instantiate(
let module = compile(wasm)?;
module.instantiate(import_object)
}
/// The current version of this crate
pub const VERSION: &str = env!("CARGO_PKG_VERSION");