# 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-netdir" version = "0.24.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Types to represent and use a Tor network directory" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", ] categories = ["network-programming"] 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_netdir" path = "src/lib.rs" [dependencies.bitflags] version = "2" [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.digest] version = "0.10.0" optional = true [dependencies.futures] version = "0.3.14" [dependencies.hex] version = "0.4" optional = true [dependencies.humantime] version = "2" [dependencies.itertools] version = "0.13.0" [dependencies.num_enum] version = "0.7" [dependencies.postage] version = "0.5.0" features = ["futures-traits"] optional = true default-features = false [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0.103" features = ["derive"] [dependencies.static_assertions] version = "1" [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.17" features = ["macros"] optional = true [dependencies.tor-basic-utils] version = "0.24.0" [dependencies.tor-error] version = "0.24.0" [dependencies.tor-geoip] version = "0.24.0" optional = true [dependencies.tor-hscrypto] version = "0.24.0" optional = true [dependencies.tor-linkspec] version = "0.24.0" [dependencies.tor-llcrypto] version = "0.24.0" [dependencies.tor-netdoc] version = "0.24.0" [dependencies.tor-protover] version = "0.24.0" [dependencies.tor-units] version = "0.24.0" [dependencies.tracing] version = "0.1.36" [dependencies.typed-index-collections] version = "~3.1.0" [dependencies.visibility] version = "0.1.0" optional = true [dev-dependencies.float_eq] version = "1.0.0" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.tor-netdoc] version = "0.24.0" features = ["build_docs"] [features] __is_experimental = [] default = [] experimental = [ "experimental-api", "testing", "geoip", ] experimental-api = [ "visibility", "__is_experimental", ] full = [ "hs-client", "hs-service", "tor-basic-utils/full", "tor-error/full", "tor-hscrypto?/full", "tor-linkspec/full", "tor-llcrypto/full", "tor-netdoc/full", "tor-protover/full", "tor-units/full", "tor-geoip?/full", ] geoip = [ "tor-geoip", "__is_experimental", ] hs-client = ["hs-common"] hs-common = [ "digest", "hex", "time", "tor-hscrypto", ] hs-service = [ "hs-common", "tor-hscrypto/ope", ] testing = [ "hex", "postage", "tor-netdoc/build_docs", "__is_experimental", ]