Crates.io | tor-units |
lib.rs | tor-units |
version | |
source | src |
created_at | 2021-06-24 13:18:17.240596 |
updated_at | 2025-01-07 17:20:55.92844 |
description | Provides macros for types which are constrained within a range, ensuring invalid values are unrepresentable. |
homepage | https://gitlab.torproject.org/tpo/core/arti/-/wikis/home |
repository | https://gitlab.torproject.org/tpo/core/arti.git/ |
max_upload_size | |
id | 414433 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Safe wrappers for primitive numeric types.
This crate is part of Arti, a project to implement Tor in Rust. It provides safe wrappers for primitive numeric wrappers used in other parts of Arti. In particular, it provides:
Duration
]Duration
]memquota-memcost
-- implement tor_memquota::HasMemoryCost
for many types.
(Does not actually force compiling in memory quota tracking;
that's memquota
in tor-memquota
and higher-level crates.)
full
-- Enable all features above.
License: MIT OR Apache-2.0