# 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-proto" version = "0.25.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous client-side implementation of the central Tor network protocols" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "networking", "anonymity", ] 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_proto" path = "src/lib.rs" [[bench]] name = "cell_decrypt" path = "benches/cell_decrypt.rs" harness = false required-features = ["bench"] [[bench]] name = "cell_encrypt" path = "benches/cell_encrypt.rs" harness = false required-features = ["bench"] [[bench]] name = "cell_is_recognized" path = "benches/cell_is_recognized.rs" harness = false required-features = ["bench"] [[bench]] name = "cell_set_digest" path = "benches/cell_set_digest.rs" harness = false required-features = ["bench"] [[bench]] name = "cpu_time" path = "benches/cpu_time.rs" [dependencies.asynchronous-codec] version = "0.7.0" [dependencies.bitvec] version = "1.0.1" [dependencies.bytes] version = "1" [dependencies.cipher] version = "0.4.1" features = ["zeroize"] [dependencies.coarsetime] version = "0.1.20" [dependencies.derive-deftly] version = "0.14.2" [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.futures] version = "0.3.14" [dependencies.hkdf] version = "0.12.0" [dependencies.hmac] version = "0.12.0" [dependencies.oneshot-fused-workaround] version = "0.2.0" [dependencies.pin-project] version = "1" [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "0.6.2" [dependencies.safelog] version = "0.4.2" [dependencies.subtle] version = "2" [dependencies.thiserror] version = "2" [dependencies.tokio-crate] version = "1.7" optional = true package = "tokio" [dependencies.tokio-util] version = "0.7.0" features = ["compat"] optional = true [dependencies.tor-async-utils] version = "0.25.0" [dependencies.tor-basic-utils] version = "0.25.0" [dependencies.tor-bytes] version = "0.25.0" [dependencies.tor-cell] version = "0.25.0" [dependencies.tor-cert] version = "0.25.0" [dependencies.tor-checkable] version = "0.25.0" [dependencies.tor-config] version = "0.25.0" [dependencies.tor-error] version = "0.25.0" [dependencies.tor-hscrypto] version = "0.25.0" features = ["memquota-memcost"] optional = true [dependencies.tor-linkspec] version = "0.25.0" [dependencies.tor-llcrypto] version = "0.25.0" features = ["memquota-memcost"] [dependencies.tor-log-ratelim] version = "0.25.0" [dependencies.tor-memquota] version = "0.25.0" default-features = false [dependencies.tor-rtcompat] version = "0.25.0" [dependencies.tor-rtmock] version = "0.25.0" [dependencies.tor-units] version = "0.25.0" features = ["memquota-memcost"] [dependencies.tracing] version = "0.1.36" [dependencies.typenum] version = "1.12" [dependencies.visibility] version = "0.1.0" optional = true [dependencies.void] version = "1" [dependencies.zeroize] version = "1" [dev-dependencies.cpu-time] version = "1.0.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.humantime] version = "2" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.regex] version = "1" features = ["std"] default-features = false [dev-dependencies.statrs] version = "0.17.1" [dev-dependencies.tokio-crate] version = "1.7" features = ["full"] package = "tokio" [dev-dependencies.tor-rtcompat] version = "0.25.0" features = [ "tokio", "native-tls", ] [features] __is_experimental = [] bench = ["__is_experimental"] default = [] experimental = [ "experimental-api", "ntor_v3", "stream-ctrl", "testing", "bench", ] experimental-api = ["__is_experimental"] full = [ "hs-client", "hs-service", "tokio", "send-control-msg", "safelog/full", "tor-async-utils/full", "tor-basic-utils/full", "tor-bytes/full", "tor-cell/full", "tor-cert/full", "tor-checkable/full", "tor-config/full", "tor-error/full", "tor-linkspec/full", "tor-llcrypto/full", "tor-rtcompat/full", "tor-rtmock/full", "tor-units/full", "tor-hscrypto?/full", "tor-log-ratelim/full", "oneshot-fused-workaround/full", "tor-memquota/full", ] hs-client = ["hs-common"] hs-common = ["tor-hscrypto"] hs-service = ["hs-common"] ntor_v3 = ["__is_experimental"] send-control-msg = ["visibility"] stream-ctrl = ["__is_experimental"] testing = ["__is_experimental"] tokio = [ "tokio-crate", "tokio-util", ]