[package] name = "tor-memquota" version = "0.39.0" authors = ["The Tor Project, Inc.", "Ian Jackson "] edition = "2024" rust-version = "1.86" license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Memory use tracking and quota utilities, used by Tor software" keywords = ["tor", "arti"] categories = ["memory-management"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [dependencies] cfg-if = "1.0.0" derive-deftly = { version = "~1.6.0", features = ["full", "beta"] } derive_more = { version = "2.0.1", features = ["full"] } dyn-clone = "1.0.17" educe = "0.4.22" futures = "0.3.14" itertools = "0.14.0" paste = "1.0.3" pin-project = "1" serde = { version = "1.0.103", features = ["derive"] } slotmap-careful = { path = "../slotmap-careful", version = "0.6.0" } static_assertions = "1" sysinfo = { version = "0.36.1", default-features = false, features = ["system"] } thiserror = "2" tor-async-utils = { path = "../tor-async-utils", version = "0.39.0" } tor-basic-utils = { path = "../tor-basic-utils", version = "0.39.0", features = ["serde"] } tor-config = { path = "../tor-config", version = "0.39.0" } tor-error = { path = "../tor-error", version = "0.39.0", features = ["tracing"] } tor-log-ratelim = { path = "../tor-log-ratelim", version = "0.39.0" } tor-memquota-cost = { path = "../tor-memquota-cost", version = "0.39.0" } tor-rtcompat = { version = "0.39.0", path = "../tor-rtcompat" } tracing = "0.1.36" visibility = { version = "0.1.0", optional = true } void = "1" [dev-dependencies] rand = "0.9.1" safelog = { path = "../safelog", version = "0.7.0" } serde_json = "1.0.50" tor-basic-utils = { path = "../tor-basic-utils", version = "0.39.0" } tor-rtcompat = { version = "0.39.0", path = "../tor-rtcompat", features = ["tokio", "native-tls"] } tor-rtmock = { path = "../tor-rtmock", version = "0.39.0" } tracing-test = "0.2.4" [features] full = [ "memquota", "tor-config/full", "tor-error/full", "tor-log-ratelim/full", "tor-rtcompat/full", "tor-async-utils/full", "tor-basic-utils/full", "tor-memquota-cost/full", "slotmap-careful/full", ] default = ["memquota"] memquota = ["tor-memquota-cost/memquota"] testing = ["__is_experimental", "visibility"] experimental = ["testing"] __is_experimental = []