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.
- cli
cli
Command-line parsing utilities. - Code generation utilities.
- Collection utilities.
- Process environment utilities.
- Error utilities.
- Formatting utilities.
- future
async
Future and stream utilities. - Graph utilities.
- Hash utilities.
- Extensions to
std::hint
. - ID generation utilities.
- Iterator utilities.
- Lexing utilities.
- metrics
metrics
Metrics for materialize systems. - netio
network
Network I/O utilities. - Now utilities.
- Option utilities.
- Panic utilities.
- Path utilities.
- Functions for working with permutations
- Process utilities.
- result
process
Result utilities. - retry
async
Retry utilities. - stack
stack
Stack management utilities. - Statistics utilities.
- String utilities.
- task
async
Tokio task utilities. - test
test
Test utilities. - Thread utilities.
- tracing
tracing_
Tracing utilities. - Vector utilities.
Macros
- assert_contains
test
Asserts that the left expression contains the right expression. - halt
tracing_
Halts the process. - metric
metrics
Define a metric for use in materialize. - soft_assert
test
Asserts that a condition is true if soft assertions are enabled. - soft_assert_eq
test
Asserts that two values are equal 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, or logs an error if soft assertions are disabled.
Attribute Macros
- Based on https://github.com/d-e-s-o/test-log Copyright (C) 2019-2022 Daniel Mueller deso@posteo.net SPDX-License-Identifier: (Apache-2.0 OR MIT)