fabaccess-bffh/modules/sdk/src/lib.rs

24 lines
560 B
Rust
Raw Normal View History

#[forbid(private_in_public)]
2021-12-17 16:43:31 +01:00
pub use sdk_proc::module;
pub use futures_util::future::BoxFuture;
pub mod initiators;
2021-12-17 16:43:31 +01:00
pub const VERSION_STRING: &'static str = env!("CARGO_PKG_VERSION");
pub const VERSION_STRING_PARTS: (&'static str, &'static str, &'static str, &'static str) = (
env!("CARGO_PKG_VERSION_MAJOR"),
env!("CARGO_PKG_VERSION_MINOR"),
env!("CARGO_PKG_VERSION_PATCH"),
env!("CARGO_PKG_VERSION_PRE"),
);
pub static VERSION_MAJOR: u32 = 0;
2021-10-27 23:20:35 +02:00
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}