cw_boolean_contract/
lib.rs

1#![doc(html_logo_url = "https://docs.cron.cat/icons/icon-512x512.png")]
2#![allow(rustdoc::broken_intra_doc_links)]
3//! For an overview, see the [README here](readme), since Rust docs are odd.
4
5pub mod entry_points;
6pub mod errors;
7pub mod msgs;
8pub mod state;
9
10#[cfg(test)]
11mod tests;
12
13/// Silly way to have a README and the docs how I like it.
14// #[cfg(test)]
15pub mod readme;
16
17/// Contract name as it'll be stored according to the [cw2 dependency](https://crates.io/crates/cw2)
18pub const CONTRACT_NAME: &str = "crates.io:cw-boolean-contract";
19/// The version comes from the manifest file (Cargo.toml)
20pub const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");