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
|
[package]
name = "tor-persist"
version = "0.26.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 = "Persistent state for the Arti Tor implementation"
keywords = ["tor", "arti"]
categories = ["config"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
# Enable the state_dir module
state-dir = ["__is_experimental", "amplify", "fslock-guard"]
# Enable testing-only APIs. APIs under this feature are not
# covered by semver.
testing = ["__is_experimental"]
full = [
"fs-mistrust/full",
"tor-error/full",
"fslock-guard?/full",
"tor-basic-utils/full",
"tor-async-utils/full",
"oneshot-fused-workaround/full",
]
experimental = ["state-dir", "testing"]
__is_experimental = []
[dependencies]
amplify = { version = "4", default-features = false, features = ["derive"], optional = true }
derive-deftly = "0.14"
derive_more = { version = "1.0.0", features = ["full"] }
filetime = { version = "0.2", default-features = false }
fs-mistrust = { path = "../fs-mistrust", version = "0.8.2", features = ["walkdir"] }
fslock-guard = { path = "../fslock-guard", version = "0.2.1", optional = true }
futures = "0.3.14"
itertools = "0.14.0"
oneshot-fused-workaround = { path = "../oneshot-fused-workaround", version = "0.2.0" }
paste = "1"
sanitize-filename = "0.6.0"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50"
thiserror = "2"
time = { version = "0.3", features = ["std", "parsing", "macros", "formatting"] }
tor-async-utils = { path = "../tor-async-utils", version = "0.26.0" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.26.0" }
tor-error = { path = "../tor-error", version = "0.26.0", features = ["tracing"] }
tracing = "0.1.36"
void = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
fslock = { version = "0.2.0" }
[dev-dependencies]
anyhow = { version = "1.0.23" }
derive-deftly = "0.14"
humantime = "2"
itertools = "0.14.0"
tempfile = "3"
test-temp-dir = { version = "0.3.0", path = "../test-temp-dir" }
tracing-test = "0.2.4"
[package.metadata.docs.rs]
all-features = true
|