cubecl-environment 0.11.0-pre.2

Environment compatibility layer for CubeCL: sync primitives, futures, streams, config and persistence across std, no-std, wasm and tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// The default hasher used by the environment's hash collections.
pub use hashbrown::DefaultHashBuilder;

/// A hash map with the environment's default hasher, usable in every
/// environment (std, no-std and wasm).
pub type HashMap<K, V, S = DefaultHashBuilder> = hashbrown::HashMap<K, V, S>;

/// A hash set with the environment's default hasher, usable in every
/// environment (std, no-std and wasm).
pub type HashSet<T, S = DefaultHashBuilder> = hashbrown::HashSet<T, S>;

pub use hashbrown::{hash_map, hash_set};