Expand description
Internal utility libraries for Materialize.
ore (n): the raw material from which more valuable materials are extracted. Modules are included in this crate when they are broadly useful but too small to warrant their own crate.
Modules§
- assert
test
Assertion utilities. - Utilities for bit and byte manipulation
- bytes
bytes_
One bytes type to rule them all! - Cast utilities.
- channel
async
Channel utilities and extensions. - cli
cli
Command-line parsing utilities. - Code generation utilities.
- Collection utilities.
- Process environment utilities.
- Error utilities.
- Flat container utilities
- Formatting utilities.
- future
async
Future and stream utilities. - Graph utilities.
- Hash utilities.
- Extensions to
std::hint
. - ID generation utilities.
- Iterator utilities.
- Lexing utilities.
- lgbytes
bytes_
andregion
- metrics
metrics
Metrics for materialize systems. - netio
network
Network I/O utilities. - Now utilities.
- Number utilities
- Option utilities.
- Panic utilities.
- Path utilities.
- Functions for working with permutations
- Process utilities.
- Region-allocated data utilities.
- result
process
Result utilities. - retry
async
Retry utilities. - Serde utilities.
- stack
stack
Stack management utilities. - Statistics utilities.
- String utilities.
- task
async
Tokio task utilities. - test
test
ortest
Test utilities. - Thread utilities.
- Timing related extensions.
- tracing
tracing_
Tracing utilities. - URL utilities.
- Vector utilities.
Macros§
- assert_
contains test
Asserts that the left expression contains the right expression. - assert_
err test
Asserts that the provided expression, that returns aResult
, isErr
. - assert_
none test
Asserts that the provided expression, that returns anOption
, isNone
. - assert_
ok test
Asserts that the provided expression, that returns aResult
, isOk
. - exit
tracing_
Prints the given message and exits the process. - halt
tracing_
Halts the process. - metric
metrics
Define a metric for use in materialize. - Asserts that two values are equal if soft assertions are enabled.
- Asserts that two expressions are equal to each other if soft assertions are enabled, or logs an error if soft assertions are disabled and the two expressions are not equal.
- Asserts that two values are not equal if soft assertions are enabled.
- Asserts that two expressions are not equal to each other if soft assertions are enabled, or logs an error if soft assertions are disabled and the two expressions are not equal.
- Asserts that a condition is true if soft assertions are enabled.
- Asserts that a condition is true if soft assertions are enabled, or logs an error if soft assertions are disabled and the condition is false.
- Panics if soft assertions are enabled.
- Panics if soft assertions are enabled, or logs an error if soft assertions are disabled.
Attribute Macros§
- Materialize wrapper around the
#[tracing::insrument]
macro. - A macro that collects all of the static objects of a specific type in the annotated module into a single list.
- Materialize wrapper around the
test
macro.