Skip to main content

frozen_collections_core/
lib.rs

1//! Implementation crate for the frozen collections.
2//!
3//! <div class="warning">
4//! This crate is an implementation detail of the `frozen_collections` crate.
5//! This crate's API is therefore not stable and may change at any time. Please do not
6//! use this crate directly and instead use the public API provided by the
7//! `frozen_collections` crate.
8//! </div>
9
10#![cfg_attr(not(feature = "std"), no_std)]
11
12extern crate alloc;
13
14mod analyzers;
15pub mod fz_maps;
16pub mod fz_sets;
17pub mod hash_tables;
18pub mod hashers;
19pub mod inline_maps;
20pub mod inline_sets;
21pub mod maps;
22pub mod sets;
23pub mod traits;
24mod utils;
25
26#[cfg(feature = "macros")]
27pub mod macros;
28
29#[cfg(any(feature = "emit", feature = "macros"))]
30pub mod emit;
31
32/// The default hash builder used by the frozen collections.
33#[cfg(test)]
34pub type DefaultBuildHasher = foldhash::fast::FixedState;
35
36/// The default hash builder used by the frozen collections.
37#[cfg(not(test))]
38pub type DefaultBuildHasher = foldhash::fast::RandomState;