trunk 0.21.14

Build, bundle & ship your Rust WASM application to the web.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod enforce;

#[cfg(feature = "update_check")]
mod enabled;
#[cfg(feature = "update_check")]
pub use enabled::update_check;

#[cfg(not(feature = "update_check"))]
mod disabled;
#[cfg(not(feature = "update_check"))]
pub use disabled::update_check;

pub(crate) use enforce::enforce_version_with;

pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(feature = "update_check")]
const NAME: &str = env!("CARGO_PKG_NAME");