trunk 0.22.0-beta.2

Build, bundle & ship your Rust WASM application to the web.
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")]
pub const NAME: &str = env!("CARGO_PKG_NAME");

pub const USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"));