summaryrefslogtreecommitdiff
path: root/crates/tor-config/Cargo.toml
blob: ff8a19096a90411032d1d9a059999b882a01e28f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "tor-config"
version = "0.45.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.91"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Low-level configuration for the Arti Tor implementation"
keywords = ["tor", "arti"]
categories = ["config"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = []

full = [
    "fs-mistrust/full",
    "tor-basic-utils/full",
    "tor-error/full",
    "tor-rtcompat/full",
]

experimental = ["testing", "experimental-api"]
# 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-api = ["__is_experimental"]

# Enable testing-only APIs.  APIs under this feature are not
# covered by semver.
testing = ["__is_experimental"]

__is_experimental = []

[dependencies]
amplify = { version = "4", default-features = false, features = ["derive"] }
cfg-if = "1.0.0"
derive-deftly = { version = "~1.11.4", features = ["full", "beta"] }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
educe = "0.4.22"
either = "1"
extend = "1.2.0"
figment = { version = "0.10.18", features = ["toml"] }
fs-mistrust = { path = "../fs-mistrust", version = "0.15.0" }
futures = "0.3.14"
humantime-serde = "1.1.1"
itertools = "0.15.0"
notify = { version = "8", default-features = false, features = ["macos_kqueue"] }
paste = "1.0.3"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
regex = { version = "1", default-features = false, features = ["std"] }
serde = { version = "1.0.103", features = ["derive"] }
serde-value = "0.7.0"
serde_ignored = "0.1.3"
strum = { version = "0.28.0", features = ["derive"] }
thiserror = "2"
toml = "1.0.3"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.45.0" }
tor-error = { path = "../tor-error", version = "0.45.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.45.0" }
tracing = "0.1.36"
void = "1"

[dev-dependencies]
assert_matches = "1.5.0"
serde_json = "1.0.50"
tempfile = "3"
test-temp-dir = { version = "0.8.0", path = "../test-temp-dir" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.45.0", features = ["serde"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.45.0", features = ["tokio", "native-tls"] }
tracing-test = "0.2.4"

[package.metadata.docs.rs]
all-features = true