Skip to main content

stability_mod

Macro stability_mod 

Source
stability_mod!() { /* proc-macro */ }
Expand description

Marks a module with a stability level.

When building with RUSTFLAGS="--cfg commonware_stability_N", modules with stability less than N are excluded.

§Example

use commonware_macros::stability_mod;

stability_mod!(BETA, pub mod stable_module);