summaryrefslogtreecommitdiff
path: root/crates/tor-config-path/Cargo.toml
blob: c8145f7add32a6776e7b161baaa23420b9d59d67 (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
[package]
name = "tor-config-path"
version = "0.27.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2021"
rust-version = "1.77"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Low-level file path handling for configuration of the Arti Tor implementation"
keywords = ["tor", "arti"]
categories = ["config"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = ["expand-paths", "address"]

full = ["address", "arti-client", "expand-paths", "tor-error/full", "tor-general-addr?/full"]

arti-client = ["expand-paths"]
expand-paths = ["shellexpand", "directories"]
address = ["tor-general-addr"]

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]
directories = { version = "5", optional = true }
once_cell = "1"
serde = { version = "1.0.103", features = ["derive"] }
shellexpand = { version = "3.0", optional = true, features = ["path"] }
thiserror = "2"
tor-error = { path = "../tor-error", version = "0.27.0" }
tor-general-addr = { path = "../tor-general-addr", version = "0.27.0", optional = true }

[dev-dependencies]
assert_matches = "1.5.0"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
dirs = "6.0.0"
rmp-serde = "1"
serde_json = "1.0.50"
toml = "0.8.8"
tor-config = { path = "../tor-config", version = "0.27.0" }

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