The core library: the language's own vocabulary types. Needs no allocator and no operating system.
Modules
array | Fixed-length arrays over caller-provided storage. |
ascii | ASCII character classes and case conversion. |
atomic | Memory orderings for the atomic operations on raw pointers (unsafe p.atomic_load(Ordering::Acquire), unsafe fence(...), ...), with the meanings C11 gives them. |
borrow | Borrowed views of values through the Borrow trait. |
cap | Branded access capabilities: one exclusive writer or a tree of shared readers. |
cmp | Ordering and comparison traits. |
cstr | NUL-terminated strings for C interfaces. |
cursor | Text cursors for incremental parsing. |
fmt | The writer protocol and the printing and formatting traits. |
hash | Hashing and equality traits, and the keyed hash behind them. |
iter | The iterator protocol and iterator adapters. |
mem | Memory ownership and access vocabulary built from brands and linear values. |
num | Number limits, float classification and rounding, and float bits. |
option | Optional values and fallible results. |
parse | Parsing integers from byte views. |
process | Process traps and termination primitives. |
ptr | Raw pointer operations. |
raw | Raw reads over flat buffers. |
slice | Checked contiguous views over borrowed storage. |
str | Text: read-only views of bytes. |
utf8 | UTF-8 validation and decoding. |