Crates.io | tor-memquota |
lib.rs | tor-memquota |
version | 0.24.0 |
source | src |
created_at | 2024-04-30 14:33:21.004815 |
updated_at | 2024-10-31 14:06:51.238512 |
description | Memory use tracking and quota utilities, used by Tor software |
homepage | https://gitlab.torproject.org/tpo/core/arti/-/wikis/home |
repository | https://gitlab.torproject.org/tpo/core/arti.git/ |
max_upload_size | |
id | 1225088 |
size | 228,000 |
Memory use quota, tracking and reclamation, for use in Tor DoS resistance
memquota
(default) -- 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.
Note that the APIs enabled by these features are NOT covered by semantic versioning1 guarantees: we might break them or remove them between patch versions.
testing
: Additional APIs for testing,
used in our whole-workspace tests.
experimental
: Enable all the above experimental features.
License: MIT OR Apache-2.0
Remember, semantic versioning is what makes various cargo
features work reliably. To be explicit: if you want cargo update
to only make safe changes, then you cannot enable these
features. ↩