[package] name = "tor-rpc-connect" version = "0.25.0" edition = "2021" rust-version = "1.77" authors = ["The Tor Project, Inc."] license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Common implementation logic for Arti RPC Connect points" keywords = ["tor", "arti", "rpc"] categories = ["asynchronous"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [features] full = [ "rpc-client", "rpc-server", "fs-mistrust/full", "safelog/full", "tor-basic-utils/full", "tor-config-path/full", "tor-general-addr/full", "tor-rtcompat?/full", ] default = [] rpc-client = [] rpc-server = ["rand", "tor-rtcompat"] [dependencies] # NOTE: This crate is a dependency of our RPC client library; # Try to avoid introducing big unconditional dependencies! derive_more = { version = "1.0.0", features = ["full"] } fs-mistrust = { path = "../fs-mistrust", version = "0.8.2" } rand = { version = "0.8", optional = true } safelog = { path = "../safelog", version = "0.4.2" } serde = { version = "1.0.103", features = ["derive"] } serde_with = "3.0.0" thiserror = "2" toml = "0.8.8" tor-basic-utils = { path = "../tor-basic-utils", version = "0.25.0" } tor-config-path = { path = "../tor-config-path", version = "0.25.0", features = ["address"] } tor-general-addr = { path = "../tor-general-addr", version = "0.25.0" } tor-rtcompat = { path = "../tor-rtcompat", version = "0.25.0", optional = true } tracing = "0.1.36" zeroize = "1" [dev-dependencies] assert_matches = "1.5.0" tempfile = "3.10"