2 unstable releases
Uses new Rust 2024
| new 0.40.0 | Mar 3, 2026 |
|---|---|
| 0.39.0 | Feb 2, 2026 |
#290 in Memory management
3,195 downloads per month
Used in 46 crates
(2 directly)
21KB
279 lines
tor-memquota-cost
Cost-tracking trait for use with tor-memquota.
This is a separate crate so that crates that want to add a memory cost to a
struct can do so without depending on the full tor-memquota.
Compile-time features
-
memquota-- Actually enable memory quota tracking. Without this feature, all the actual functionality is stubbed out. This provides a convenient way of conditionally enabling memory tracking. -
full-- Enable all features above.
License: MIT OR Apache-2.0
Dependencies
~3.5MB
~76K SLoC