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.
Re-exports§
pub use overflowing::Overflowing;
Modules§
- assert
assert
- Assertion utilities.
- bits
- Utilities for bit and byte manipulation
- bytes
bytes
- One bytes type to rule them all!
- cast
- Cast utilities.
- channel
async
- Channel utilities and extensions.
- cli
cli
- Command-line parsing utilities.
- collections
- Collection utilities.
- env
- Process environment utilities.
- error
- Error utilities.
- fmt
- Formatting utilities.
- future
async
- Future and stream utilities.
- graph
- Graph utilities.
- hash
- Hash utilities.
- hint
- Extensions to
std::hint
. - id_gen
- ID generation utilities.
- iter
- Iterator utilities.
- lex
- Lexing utilities.
- lgbytes
bytes
andregion
- The bytes crate but backed by lgalloc.
- metrics
metrics
- Metrics for materialize systems.
- netio
network
- Network I/O utilities.
- now
- Now utilities.
- num
- Number utilities
- option
- Option utilities.
- overflowing
- Overflowing number types.
- panic
- Panic utilities.
- path
- Path utilities.
- permutations
- Functions for working with permutations
- process
- Process utilities.
- region
- Region-allocated data utilities.
- result
process
- Result utilities.
- retry
async
- Retry utilities.
- serde
- Serde utilities.
- stack
stack
- Stack management utilities.
- stats
- Statistics utilities.
- str
- String utilities.
- task
async
- Tokio task utilities.
- test
test
ortest
- Test utilities.
- thread
- Thread utilities.
- time
- Timing related extensions.
- tracing
tracing
- Tracing utilities.
- url
- URL utilities.
- vec
- Vector utilities.
Macros§
- assert_
contains assert
- Asserts that the left expression contains the right expression.
- assert_
err assert
- Asserts that the provided expression, that returns a
Result
, isErr
. - assert_
none assert
- Asserts that the provided expression, that returns an
Option
, isNone
. - assert_
ok assert
- Asserts that the provided expression, that returns a
Result
, 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.
- soft_
assert_ eq_ no_ log assert
- Asserts that two values are equal if soft assertions are enabled.
- soft_
assert_ eq_ or_ log assert
- 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.
- soft_
assert_ ne_ no_ log assert
- Asserts that two values are not equal if soft assertions are enabled.
- soft_
assert_ ne_ or_ log assert
- 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.
- soft_
assert_ no_ log assert
- Asserts that a condition is true if soft assertions are enabled.
- soft_
assert_ or_ log assert
- 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.
- soft_
panic_ no_ log assert
- Panics if soft assertions are enabled.
- soft_
panic_ or_ log assert
- Panics if soft assertions are enabled, or logs an error if soft assertions are disabled.
Attribute Macros§
- instrument
- Materialize wrapper around the
#[tracing::insrument]
macro. - static_
list - A macro that collects all of the static objects of a specific type in the annotated module into a single list.
- test
- Materialize wrapper around the
test
macro.