1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#![doc = include_str!("../CHANGELOG.md")] pub mod delegation; pub mod sui; pub(crate) mod hash; pub(crate) mod init; pub mod login; mod macros; pub(crate) mod rand; pub mod settings; pub mod signature_map; pub mod sis; pub(crate) mod time; pub use init::init; use settings::Settings; use sis::SisMessageMap; use std::cell::RefCell; use rand_chacha::ChaCha20Rng; thread_local! { static RNG: RefCell<Option<ChaCha20Rng>> = const { RefCell::new(None) }; static SETTINGS: RefCell<Option<Settings>> = const { RefCell::new(None) }; static SIS_MESSAGES: RefCell<SisMessageMap> = RefCell::new(SisMessageMap::new()); }