cranpose-core 0.1.176

Core runtime for a Jetpack Compose inspired UI framework in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Collections the framework's crates share: the hash map every crate
//! uses, and the bounded caches their hot paths keep.

pub mod bounded_lru;
pub mod pass_aged;

#[cfg(feature = "std-hash")]
pub mod map {
    pub use std::collections::{HashMap, HashSet, hash_map::Entry};
}

#[cfg(not(feature = "std-hash"))]
pub mod map {
    pub use std::collections::hash_map::Entry;

    pub use foldhash::{HashMap, HashSet};
}