# 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 = "arti" version = "1.3.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A rust implementation of the Tor privacy tools." homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "privacy", "anonymity", ] categories = [ "command-line-utilities", "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 = "arti" path = "src/lib.rs" [[bin]] name = "arti" path = "src/main.rs" [[test]] name = "cli_tests" path = "tests/cli_tests.rs" [dependencies.anyhow] version = "1.0.23" [dependencies.arti-client] version = "0.24.0" features = ["anyhow"] default-features = false package = "arti-client" [dependencies.arti-rpcserver] version = "0.24.0" optional = true [dependencies.async-ctrlc] version = "1.2.0" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.3.24" features = [ "string", "wrap_help", "derive", ] [dependencies.derive-deftly] version = "0.14" optional = true [dependencies.derive_builder] version = "0.11" package = "derive_builder_fork_arti" [dependencies.dialoguer] version = "0.11.0" optional = true [dependencies.fs-mistrust] version = "0.8.0" [dependencies.futures] version = "0.3.14" [dependencies.hickory-proto] version = "0.24.0" optional = true [dependencies.humantime] version = "2" [dependencies.humantime-serde] version = "1.1.1" [dependencies.itertools] version = "0.13.0" [dependencies.libc] version = "0.2" [dependencies.notify] version = "7" features = ["macos_kqueue"] default-features = false [dependencies.paste] version = "1" [dependencies.postage] version = "0.5.0" features = ["futures-traits"] default-features = false [dependencies.rlimit] version = "0.10.1" [dependencies.rustls-crate] version = "0.23.5" features = [ "tls12", "logging", "ring", ] optional = true default-features = false package = "rustls" [dependencies.safelog] version = "0.4.1" [dependencies.secmem-proc] version = "0.3.4" optional = true [dependencies.serde] version = "1.0.103" features = ["derive"] [dependencies.signal-hook] version = "0.3" optional = true [dependencies.signal-hook-async-std] version = "0.2" optional = true [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.18" [dependencies.tokio-crate] version = "1.7" features = ["signal"] optional = true package = "tokio" [dependencies.tokio-util] version = "0.7.0" features = ["compat"] optional = true [dependencies.toml] version = "0.8.8" [dependencies.tor-async-utils] version = "0.24.0" [dependencies.tor-config] version = "0.24.0" [dependencies.tor-error] version = "0.24.0" features = ["tracing"] default-features = false [dependencies.tor-hsrproxy] version = "0.24.0" optional = true [dependencies.tor-hsservice] version = "0.24.0" optional = true [dependencies.tor-rpcbase] version = "0.24.0" optional = true [dependencies.tor-rtcompat] version = "0.24.0" default-features = false [dependencies.tor-socksproto] version = "0.24.0" [dependencies.tracing] version = "0.1.36" [dependencies.tracing-appender] version = "0.2.0" [dependencies.tracing-journald] version = "0.3.0" optional = true [dependencies.tracing-subscriber] version = "0.3.0" features = ["env-filter"] [dependencies.visibility] version = "0.1.0" optional = true [dev-dependencies.arti-client] version = "0.24.0" features = ["testing"] default-features = false package = "arti-client" [dev-dependencies.derive_more] version = "1.0.0" features = ["full"] [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.postage] version = "0.5.0" features = ["futures-traits"] default-features = false [dev-dependencies.regex] version = "1" features = ["std"] default-features = false [dev-dependencies.serde_json] version = "1.0.50" [dev-dependencies.tempfile] version = "3" [dev-dependencies.test-temp-dir] version = "0.3.0" [dev-dependencies.tor-async-utils] version = "0.24.0" [dev-dependencies.tor-config] version = "0.24.0" features = ["testing"] [dev-dependencies.tor-memquota] version = "0.24.0" features = ["testing"] default-features = false [dev-dependencies.tor-rtmock] version = "0.24.0" [dev-dependencies.trycmd] version = "0.15.4" [features] __is_experimental = [] __is_nonadditive = [] accel-openssl = [ "arti-client/accel-openssl", "__is_nonadditive", ] accel-sha1-asm = [ "arti-client/accel-sha1-asm", "__is_nonadditive", ] async-std = [ "arti-client/async-std", "tor-rtcompat/async-std", "async-ctrlc", "signal-hook", "signal-hook-async-std", ] bridge-client = ["arti-client/bridge-client"] compression = ["arti-client/compression"] ctor-keystore = [ "arti-client/ctor-keystore", "__is_experimental", ] default = [ "default-runtime", "dns-proxy", "harden", "compression", "bridge-client", "pt-client", "onion-service-client", "vanguards", ] default-runtime = [ "tokio", "native-tls", ] dns-proxy = ["hickory-proto"] experimental = [ "arti-client/experimental", "experimental-api", "hs-pow", "keymgr", "restricted-discovery", "rpc", "hsc", "tor-hsservice/experimental", "ctor-keystore", ] experimental-api = [ "arti-client/experimental-api", "visibility", "__is_experimental", ] full = [ "default-runtime", "memquota", "onion-service-client", "onion-service-service", "vanguards", "async-std", "tokio", "native-tls", "journald", "arti-client/full", "dns-proxy", "harden", "compression", "bridge-client", "pt-client", "arti-rpcserver?/full", "fs-mistrust/full", "safelog/full", "tor-config/full", "tor-error/full", "tor-rtcompat/full", "tor-socksproto/full", "tor-rpcbase?/full", "tor-hsrproxy?/full", "tor-hsservice?/full", "tor-async-utils/full", ] harden = ["secmem-proc"] hs-pow = [ "arti-client/hs-pow", "__is_experimental", ] hsc = [ "onion-service-client", "experimental-api", "keymgr", "__is_experimental", "dialoguer", ] journald = ["tracing-journald"] keymgr = [ "arti-client/keymgr", "__is_experimental", ] memquota = ["arti-client/memquota"] native-tls = [ "arti-client/native-tls", "tor-rtcompat/native-tls", ] onion-service-client = ["arti-client/onion-service-client"] onion-service-service = [ "arti-client/onion-service-service", "tor-hsrproxy", "tor-hsservice", ] pt-client = [ "bridge-client", "arti-client/pt-client", ] restricted-discovery = [ "tor-hsservice/restricted-discovery", "__is_experimental", ] rpc = [ "arti-rpcserver", "tor-rpcbase", "derive-deftly", "__is_experimental", ] rustls = [ "arti-client/rustls", "tor-rtcompat/rustls", "rustls-crate", "__is_nonadditive", ] static = [ "arti-client/static", "__is_nonadditive", ] static-native-tls = [ "arti-client/static-native-tls", "native-tls", "__is_nonadditive", ] static-sqlite = [ "arti-client/static-sqlite", "__is_nonadditive", ] tokio = [ "tokio-crate", "arti-client/tokio", "tor-rtcompat/tokio", "tokio-util", ] vanguards = ["arti-client/vanguards"] [target."cfg(windows)".dependencies.winapi] version = "0.3.8" features = ["winerror"]