# 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-dirmgr" version = "0.24.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bootstrap and update an accurate Tor network directory" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "download", "async", ] categories = [ "network-programming", "cryptography", ] 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_dirmgr" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.54" [dependencies.base64ct] version = "1.5.1" [dependencies.derive_builder] version = "0.11.2" package = "derive_builder_fork_arti" [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.digest] version = "0.10.0" [dependencies.educe] version = "0.4.6" [dependencies.event-listener] version = "5" [dependencies.fs-mistrust] version = "0.8.0" [dependencies.fslock] version = "0.2.0" [dependencies.futures] version = "0.3.14" [dependencies.hex] version = "0.4" [dependencies.humantime] version = "2" [dependencies.humantime-serde] version = "1.1.1" [dependencies.itertools] version = "0.13.0" [dependencies.memmap2] version = "0.9.0" optional = true [dependencies.once_cell] version = "1" [dependencies.oneshot-fused-workaround] version = "0.2.0" [dependencies.paste] version = "1" [dependencies.postage] version = "0.5.0" features = ["futures-traits"] default-features = false [dependencies.rand] version = "0.8" [dependencies.rusqlite] version = "0.32.1" features = ["time"] [dependencies.safelog] version = "0.4.1" [dependencies.scopeguard] version = "1" [dependencies.serde] version = "1.0.103" features = ["derive"] [dependencies.signature] version = "2" [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.20" features = [ "formatting", "parsing", ] [dependencies.tor-async-utils] version = "0.24.0" [dependencies.tor-basic-utils] version = "0.24.0" [dependencies.tor-checkable] version = "0.24.0" [dependencies.tor-circmgr] version = "0.24.0" [dependencies.tor-config] version = "0.24.0" [dependencies.tor-consdiff] version = "0.24.0" [dependencies.tor-dirclient] version = "0.24.0" default-features = false [dependencies.tor-error] version = "0.24.0" features = ["tracing"] [dependencies.tor-geoip] version = "0.24.0" optional = true [dependencies.tor-guardmgr] version = "0.24.0" [dependencies.tor-llcrypto] version = "0.24.0" [dependencies.tor-netdir] version = "0.24.0" [dependencies.tor-netdoc] version = "0.24.0" [dependencies.tor-persist] version = "0.24.0" [dependencies.tor-proto] version = "0.24.0" [dependencies.tor-rtcompat] version = "0.24.0" [dependencies.tracing] version = "0.1.36" [dev-dependencies.anyhow] version = "1.0.23" [dev-dependencies.filetime] version = "0.2" [dev-dependencies.float_eq] version = "1.0.0" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tor-linkspec] version = "0.24.0" [dev-dependencies.tor-rtcompat] version = "0.24.0" features = [ "tokio", "native-tls", ] [dev-dependencies.tor-rtmock] version = "0.24.0" [dev-dependencies.tracing-test] version = "0.2.4" [features] __is_experimental = [] __is_nonadditive = [] bridge-client = [ "tor-circmgr/specific-relay", "tor-guardmgr/bridge-client", "routerdesc", ] compression = [ "tor-dirclient/xz", "tor-dirclient/zstd", ] default = [ "mmap", "compression", ] dirfilter = ["__is_experimental"] experimental = [ "experimental-api", "dirfilter", "geoip", ] experimental-api = ["__is_experimental"] full = [ "routerdesc", "bridge-client", "default", "fs-mistrust/full", "safelog/full", "tor-basic-utils/full", "tor-checkable/full", "tor-circmgr/full", "tor-config/full", "tor-consdiff/full", "tor-dirclient/full", "tor-error/full", "tor-guardmgr/full", "tor-llcrypto/full", "tor-netdir/full", "tor-netdoc/full", "tor-proto/full", "tor-rtcompat/full", "tor-geoip?/full", "tor-async-utils/full", "tor-persist/full", "oneshot-fused-workaround/full", ] geoip = [ "tor-netdir/geoip", "tor-geoip", "__is_experimental", ] mmap = ["memmap2"] routerdesc = ["tor-dirclient/routerdesc"] static = [ "rusqlite/bundled", "__is_nonadditive", ]