# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77" name = "tor-units" version = "0.24.0" authors = ["Dennis Jackson "] build = false autobins = false autoexamples = false autotests = false autobenches = false 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" readme = "README.md" keywords = [ "tor", "arti", ] categories = ["rust-patterns"] license = "MIT OR Apache-2.0" repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [package.metadata.docs.rs] all-features = true [lib] name = "tor_units" path = "src/lib.rs" [dependencies.derive-deftly] version = "0.14.2" optional = true [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.thiserror] version = "1" [dependencies.tor-memquota] version = "0.24.0" optional = true default-features = false [dev-dependencies.float-cmp] version = "0.10.0" [features] full = [ "memquota-memcost", "tor-memquota?/full", ] memquota-memcost = [ "derive-deftly", "tor-memquota", ]