Expand description
This module gathers together all the osom tools into a single crate.
This crate is #![no_std]. If, however, the std
feature is enabled, it will include code that
depends on the standard Rust library (e.g. the
standard allocator).
Enable serde support by adding serde feature.
Modules§
- alloc
- This crate defines allocator related traits and structs.
- arc
- This crate defines ABI-stable atomic reference counted pointers.
- arrays
- This crate defines various array implementations. All of them
are ABI stable (as in
#[repr(C)]). - boxed
- This crate defines ABI-stable box type.
- btree
- This crate defines and implements the B Tree related data structures and algorithms.
- entropy
std - This crate defines entropy generators. Here by “entropy” we mean “true” (or close enough) randomness. We can think of it as (potentially) slow random number generators, but with high quality randomness.
- entropy_
cprng std - This crate defines and implements an entropy generator, that is base on cryptographically secure PRNG. It uses an OS-specific entropy only to seed the CPRNG.
- hash_
tables - This crate defines hash table traits, with some implementations.
- hashes
- This crate defines various hashing functions, which
are ABI stable (as in
#[repr(C)]). - macros
- This crate defines various macros for osom libraries.
- numbers
- This crate defines various helpers and numeric algorithms.
- primitives
- This crate defines various primitives that osom libraries use.
- prng
- This crate defines pseudo random number generators (PRNG).
- reprc
- This crate defines the
TryClonetrait and its base implementations. - strings
- This crate defines various string helpers. All of the structs
are ABI stable (as in
#[repr(C)]). - try_
clone - This module re-exports the
TryClonetrait and its macros.