-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
83 lines (70 loc) · 1.62 KB
/
Cargo.toml
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
[workspace]
members = [
".",
"ffi",
"scrypt-ocl",
"initializer",
"profiler",
"service",
"certifier",
"k2pow-service",
]
[package]
name = "post-rs"
version = "0.8.4"
edition = "2021"
[lib]
name = "post"
[dependencies]
aes = "0.8.4"
# Take a dependency on cipher to enable block-padding feature
# as `aes` doesn't expose it.
cipher = { version = "*", features = ["block-padding"] }
eyre = "0.6.12"
regex = "1.11.1"
itertools = "0.13.0"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
bytemuck = "1.21.0"
serde_with = { version = "3.11.0", features = ["base64", "hex"] }
scrypt-jane = { git = "https://github.com/spacemeshos/scrypt-jane-rs", branch = "main" }
blake3 = "1.5.5"
bitvec = "1.0.1"
rayon = "1.10.0"
rand = "0.8.5"
log = "0.4.22"
randomx-rs = { git = "https://github.com/spacemeshos/randomx-rs", rev = "d46bcd90e09428883e253b8203d6b311b0a07b91" }
primitive-types = "0.13.1"
thiserror = "2.0.9"
thread_local = "1.1.7"
mockall = "0.13.1"
core_affinity = "0.8.1"
hex = "0.4.3"
reqwest = { version = "0.12.9" }
tokio = { version = "1.42.0", features = ["rt-multi-thread"]}
futures = "0.3.31"
[dev-dependencies]
criterion = "0.5"
tempfile = "3.14.0"
rand = "0.8.5"
proptest = "1.6.0"
rstest = "0.22.0"
[target.'cfg(not(windows))'.dev-dependencies]
pprof = { version = "0.14.0", features = ["flamegraph", "criterion"] }
[[bench]]
name = "proving"
harness = false
[[bench]]
name = "pow"
harness = false
[[bench]]
name = "verifying"
harness = false
[profile.release-clib]
inherits = "release"
strip = true
lto = true
rpath = true
[profile.dev-clib]
inherits = "dev"
rpath = true