[package] name = "tor-guardmgr" version = "0.10.0" authors = ["The Tor Project, Inc.", "Nick Mathewson "] edition = "2021" rust-version = "1.65" license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Manage a set of guard relays for Tor network" keywords = ["tor", "arti", "async"] categories = ["network-programming", "cryptography"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [features] default = [] full = [ "bridge-client", "pt-client", "safelog/full", "tor-basic-utils/full", "tor-config/full", "tor-error/full", "tor-linkspec/full", "tor-llcrypto/full", "tor-netdir/full", "tor-netdoc/full", "tor-persist/full", "tor-proto/full", "tor-protover?/full", "tor-rtcompat/full", "tor-units/full", ] experimental = ["testing"] # Support for using bridges as a client. Note that this is not the same as # the pt-client feature, since here we are not concerned with # pluggable transports necessarily. bridge-client = ["tor-netdoc/routerdesc", "tor-protover"] # Support for pluggable transports. pt-client = ["bridge-client", "tor-linkspec/pt-client"] # Enable testing-only APIs. APIs under this feature are not # covered by semver. testing = ["tor-netdir/testing", "__is_experimental"] __is_experimental = [] [dependencies] base64ct = "1.5.1" derive_builder = { version = "0.11", package = "derive_builder_fork_arti" } derive_more = "0.99.3" dyn-clone = "1.0.4" educe = "0.4.6" futures = "0.3.14" humantime = "2" humantime-serde = "1.1.1" itertools = "0.11.0" num_enum = "0.6" pin-project = "1" postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] } rand = "0.8" retain_mut = "0.1.3" safelog = { path = "../safelog", version = "0.3.2" } serde = { version = "1.0.103", features = ["derive"] } strum = { version = "0.25", features = ["derive"] } thiserror = "1" tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.3" } tor-config = { path = "../tor-config", version = "0.9.3" } tor-error = { path = "../tor-error", version = "0.5.3" } tor-linkspec = { path = "../tor-linkspec", version = "0.8.2" } tor-llcrypto = { path = "../tor-llcrypto", version = "0.5.2" } tor-netdir = { path = "../tor-netdir", version = "0.9.3" } tor-netdoc = { path = "../tor-netdoc", version = "0.8.2" } # for address pattern tor-persist = { path = "../tor-persist", version = "0.7.3" } tor-proto = { path = "../tor-proto", version = "0.12.0" } tor-protover = { path = "../tor-protover", version = "0.5.1", optional = true } tor-rtcompat = { path = "../tor-rtcompat", version = "0.9.1" } tor-units = { path = "../tor-units", version = "0.6.1" } tracing = "0.1.36" [dev-dependencies] float_eq = "1.0.0" serde_json = "1.0.50" toml = "0.7.2" tor-netdir = { path = "../tor-netdir", version = "0.9.3", features = ["testing"] } tor-netdoc = { path = "../tor-netdoc", version = "0.8.2" } tor-persist = { path = "../tor-persist", version = "0.7.3", features = ["testing"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.9.1", features = ["tokio", "native-tls"] } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]