86 lines
3.5 KiB
TOML
86 lines
3.5 KiB
TOML
[package]
|
|
name = "arti-client"
|
|
version = "0.4.0"
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
|
description = "Library for connecting to the Tor network as an anonymous client"
|
|
keywords = ["tor", "arti", "privacy", "anonymity", "networking"]
|
|
categories = ["network-programming", "cryptography"]
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
|
|
|
[features]
|
|
default = ["tokio", "native-tls"]
|
|
# "full" is a top-level selector that turns on every feature, _EXCEPT FOR_:
|
|
# * Features that are experimental or unstable
|
|
# * Features that are testing-only
|
|
# * Features which are select a particular implementation or build flag and
|
|
# which therefore are not strictly additive.
|
|
# * Features which may introduce unnecessary licensing restrictions.
|
|
full = ["tokio", "async-std", "native-tls", "tor-rtcompat/full", "tor-proto/full", "tor-netdoc/full", "tor-dirmgr/full"]
|
|
|
|
async-std = ["tor-rtcompat/async-std"]
|
|
tokio = ["tor-rtcompat/tokio", "tor-proto/tokio"]
|
|
native-tls = ["tor-rtcompat/native-tls"]
|
|
rustls = ["tor-rtcompat/rustls"]
|
|
|
|
static = ["static-sqlite", "static-native-tls"]
|
|
static-sqlite = ["tor-dirmgr/static"]
|
|
static-native-tls = ["tor-rtcompat/static", "native-tls"]
|
|
|
|
# Enable experimental APIs that are not yet officially supported.
|
|
#
|
|
# These APIs are not covered by semantic versioning. Using this
|
|
# feature voids your "semver warrantee".
|
|
experimental = ["dirfilter", "experimental-api", "error_detail", "tor-proto/experimental", "tor-cell/experimental", "tor-checkable/experimental", "tor-netdoc/experimental", "tor-dirmgr/experimental", "tor-circmgr/experimental"]
|
|
experimental-api = []
|
|
dirfilter = ["tor-dirmgr/dirfilter"]
|
|
error_detail = []
|
|
|
|
[dependencies]
|
|
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
|
|
derive_more = "0.99"
|
|
directories = "4"
|
|
educe = "0.4.6"
|
|
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0", features = ["serde"] }
|
|
futures = "0.3.14"
|
|
humantime-serde = "1.1.1"
|
|
pin-project = "1"
|
|
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
|
|
safelog = { path = "../safelog", version = "0.1.0" }
|
|
serde = { version = "1.0.103", features = ["derive"] }
|
|
thiserror = "1"
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
|
|
tor-cell = { path = "../tor-cell", version = "0.3.1" }
|
|
tor-chanmgr = { path = "../tor-chanmgr", version = "0.3.1" }
|
|
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
|
|
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
|
|
tor-config = { path = "../tor-config", version = "0.4.0" }
|
|
tor-dirmgr = { path = "../tor-dirmgr", version = "0.4.0" }
|
|
tor-error = { path = "../tor-error", version = "0.3.1" }
|
|
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
|
|
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
|
|
tor-persist = { path = "../tor-persist", version = "0.4.0" }
|
|
tor-proto = { path = "../tor-proto", version = "0.3.1" }
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
|
|
tracing = "0.1.18"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.23"
|
|
once_cell = "1.9"
|
|
pin-project = "1"
|
|
tempfile = "3.3"
|
|
tokio-crate = { package = "tokio", version = "1.7", features = [
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"io-util",
|
|
"net",
|
|
"time",
|
|
"macros",
|
|
] }
|
|
tokio-util = { version = "0.7.0", features = ["compat"] }
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
|
|
tracing-subscriber = "0.3.0"
|