-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (101 loc) · 2.96 KB
/
Cargo.toml
File metadata and controls
108 lines (101 loc) · 2.96 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[workspace]
members = [
"harmonia-client",
"harmonia-utils-io",
"harmonia-utils-base-encoding",
"harmonia-utils-hash",
"harmonia-store-core",
"harmonia-store-db",
"harmonia-store-remote",
"harmonia-store-aterm",
"harmonia-nar",
"harmonia-protocol",
"harmonia-protocol-derive",
"harmonia-ssh-store",
"harmonia-cache",
"harmonia-daemon",
"harmonia-utils-test",
"harmonia-bench",
]
resolver = "2"
[workspace.package]
authors = [
"Jörg Thalheim <joerg@thalheim.io>",
"Simon Hauser <simon.hauser@helsinki-systems.de>",
"John Ericson <John.Ericson@Obsidian.Systems>",
]
edition = "2024"
homepage = "https://github.com/nix-community/harmonia"
license = "MIT"
repository = "https://github.com/nix-community/harmonia.git"
version = "3.1.0"
[workspace.dependencies]
async-stream = "0.3"
bstr = "1.11"
bytes = "1.11"
data-encoding = "2.6"
derive_more = { version = "2.1", features = [ "display" ] }
ed25519-dalek = "2"
futures-core = "0.3"
futures-sink = "0.3"
futures-util = { version = "0.3", features = [ "sink" ] }
getrandom = "0.3"
md5 = "0.8"
memchr = "2"
nix = { version = "0.31", features = [ "signal", "mman" ] }
num_enum = "0.7"
pin-project-lite = "0.2"
prometheus = { version = "0.14", default-features = false }
rusqlite = { version = "0.39", features = [ "bundled" ] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
sha1 = "0.11"
sha2 = "0.11"
thiserror = "2"
tokio = { version = "1", features = [
"sync",
"fs",
"io-util",
"rt",
"rt-multi-thread",
"macros",
"time",
"net",
"signal",
"process",
"test-util",
] }
tokio-util = "0.7"
toml = "1.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
# Proc-macro toolkit (harmonia-protocol-derive)
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
# Test / dev only
hex-literal = "1.1"
proptest = "1.11"
proptest-derive = "0.8"
rstest = "0.26"
tempfile = "3.27"
tokio-test = "0.4"
[workspace.lints.rust]
unsafe_code = "deny"
# Patch internal crates to use local paths during development
[patch.crates-io]
harmonia-nar = { path = "harmonia-nar" }
harmonia-protocol = { path = "harmonia-protocol" }
harmonia-protocol-derive = { path = "harmonia-protocol-derive" }
harmonia-store-aterm = { path = "harmonia-store-aterm" }
harmonia-store-core = { path = "harmonia-store-core" }
harmonia-store-db = { path = "harmonia-store-db" }
harmonia-store-remote = { path = "harmonia-store-remote" }
harmonia-utils-base-encoding = { path = "harmonia-utils-base-encoding" }
harmonia-utils-hash = { path = "harmonia-utils-hash" }
harmonia-utils-io = { path = "harmonia-utils-io" }
harmonia-utils-test = { path = "harmonia-utils-test" }
# Profiling profile: release optimizations with debug info for flamegraphs/perf
[profile.profiling]
debug = true
inherits = "release"