/ crates / tor-config-path / Cargo.toml
Cargo.toml
 1  [package]
 2  name = "tor-config-path"
 3  version = "0.26.0"
 4  authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
 5  edition = "2021"
 6  rust-version = "1.77"
 7  license = "MIT OR Apache-2.0"
 8  homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
 9  description = "Low-level file path handling for configuration of the Arti Tor implementation"
10  keywords = ["tor", "arti"]
11  categories = ["config"]
12  repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
13  
14  [features]
15  default = ["expand-paths", "address"]
16  
17  full = ["address", "arti-client", "expand-paths", "tor-error/full", "tor-general-addr?/full"]
18  
19  arti-client = ["expand-paths"]
20  expand-paths = ["shellexpand", "directories"]
21  address = ["tor-general-addr"]
22  
23  experimental = ["testing", "experimental-api"]
24  # Enable experimental APIs that are not yet officially supported.
25  #
26  # These APIs are not covered by semantic versioning.  Using this
27  # feature voids your "semver warrantee".
28  experimental-api = ["__is_experimental"]
29  
30  # Enable testing-only APIs.  APIs under this feature are not
31  # covered by semver.
32  testing = ["__is_experimental"]
33  
34  __is_experimental = []
35  
36  [dependencies]
37  directories = { version = "5", optional = true }
38  once_cell = "1"
39  serde = { version = "1.0.103", features = ["derive"] }
40  shellexpand = { version = "3.0", optional = true, features = ["path"] }
41  thiserror = "2"
42  tor-error = { path = "../tor-error", version = "0.26.0" }
43  tor-general-addr = { path = "../tor-general-addr", version = "0.26.0", optional = true }
44  
45  [dev-dependencies]
46  assert_matches = "1.5.0"
47  derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
48  dirs = "5.0.0"
49  rmp-serde = "1"
50  serde_json = "1.0.50"
51  toml = "0.8.8"
52  tor-config = { path = "../tor-config", version = "0.26.0" }
53  
54  [package.metadata.docs.rs]
55  all-features = true