Expand description
§Tetanus - Extended Rust Standard Library
tetanus
is a utility library that extends Rust’s standard library with additional
functionality, convenient macros, and ergonomic tools for common programming tasks.
Modules§
- timing
- Timing utilities
Macros§
- map
- Creates a HashMap from key-value pairs
- memoize
- Creates a memoized function
- set
- Creates a HashSet from elements
- vec_of
- Creates a vector with given elements
Structs§
- Atomic
- Thread-safe mutable container
- Expiring
Cache - A thread-safe cache with automatic expiration of entries
- Rate
Limiter - Rate limiter with token bucket algorithm
- Retry
With Backoff - A retry mechanism with exponential backoff
- Ring
Buffer - A fixed-size ring buffer
Traits§
- Chunked
Read Ext - Extension trait for reading chunks of data with progress tracking
- Option
Ext - Extension trait for Option types
- Result
Ext - Result extension methods
- Statistics
Ext - Extension trait for iterators to provide statistical operations
- String
Ext - Extension trait for strings
- VecExt
- Extension trait for vectors