# 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.70" name = "tor-interface" version = "0.5.0" authors = [ "morgan ", "Richard Pospesel ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library providing a Rust interface to interact with the legacy tor daemon" readme = "README.md" keywords = [ "tor", "anonymity", ] license = "BSD-3-Clause" repository = "https://github.com/blueprint-freespeech/gosling" [lib] name = "tor_interface" path = "src/lib.rs" [[test]] name = "tor_crypto" path = "tests/tor_crypto.rs" [[test]] name = "tor_provider" path = "tests/tor_provider.rs" [dependencies.arti-client] version = "0.24.0" features = [ "ephemeral-keystore", "experimental-api", "keymgr", "onion-service-client", "onion-service-service", "tokio", ] optional = true [dependencies.curve25519-dalek] version = "4.1" [dependencies.data-encoding] version = "2.0" [dependencies.data-encoding-macro] version = "0.1" [dependencies.domain] version = "<= 0.10.0" [dependencies.idna] version = "1" [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "0.6" [dependencies.regex] version = "1.9" [dependencies.sha1] version = "0.10" [dependencies.sha3] version = "0.10" [dependencies.signature] version = "1.5" [dependencies.socks] version = "0.3" [dependencies.static_assertions] version = "1.1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["macros"] optional = true [dependencies.tokio-stream] version = "0" optional = true [dependencies.tor-cell] version = "0.24.0" optional = true [dependencies.tor-config] version = "0.24.0" optional = true [dependencies.tor-hsservice] version = "0.24.0" features = ["restricted-discovery"] optional = true [dependencies.tor-keymgr] version = "0.24.0" features = ["keymgr"] optional = true [dependencies.tor-llcrypto] version = "0.24.0" features = ["relay"] [dependencies.tor-proto] version = "0.24.0" features = ["stream-ctrl"] optional = true [dependencies.tor-rtcompat] version = "0.24.0" optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.serial_test] version = "0.9" [dev-dependencies.which] version = "4.4" [features] arti-client-tor-provider = [ "arti-client", "tokio", "tokio-stream", "tor-cell", "tor-config", "tor-hsservice", "tor-keymgr", "tor-proto", "tor-rtcompat", ] legacy-tor-provider = [] mock-tor-provider = []