forked from Neptune-Crypto/neptune-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
130 lines (115 loc) · 3.08 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[package]
authors = ["Triton Software"]
edition = "2021"
name = "neptune-core"
version = "0.0.5"
default-run = "neptune-core"
publish = false
[dependencies]
aead = "0.5"
aes-gcm = "0.10"
anyhow = "1.0"
arbitrary = { version = "1.3", features = ["derive"] }
bech32 = "0.9"
bincode = "1.3"
bytes = "1.6"
bytesize = "1.3"
chrono = "=0.4.34"
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.4"
console-subscriber = "0.2"
crossterm = "0.27"
directories = "5.0"
field_count = "0.1"
futures = "0.3"
get-size = { version = "0.1", features = ["derive"] }
itertools = "0.11"
memmap2 = "0.9"
num-bigint = { version = "0.4", features = ["serde"] }
num-rational = "0.4"
num-traits = "0.2"
priority-queue = "1.4"
proptest = "1.4"
proptest-arbitrary-interop = "0.1"
rand = "0.8"
ratatui = "0.23"
regex = "1.10.3"
semver = "^1.0.21"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
strum = { version = "0.25", features = ["derive"] }
tarpc = { version = "^0.34", features = [
"tokio1",
"serde-transport",
"serde-transport-json",
"tcp",
] }
tasm-lib = "0.2.1"
tiny-bip39 = "1.0"
tokio = { version = "1.37", features = ["full", "tracing"] }
tokio-serde = { version = "0.8", features = ["bincode", "json"] }
tokio-util = { version = "0.7", features = ["codec"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"std",
"env-filter",
"time",
"fmt",
] }
tracing-test = "0.2"
unicode-width = "0.1"
zeroize = "1.7.0"
rs-leveldb = "0.1.5"
leveldb-sys = "2.0.9"
async-trait = "0.1.77"
async-stream = "0.3.5"
sha3 = "0.10.8"
readonly = "0.2.12"
thiserror = "1.0.59"
[dev-dependencies]
test-strategy = "0.3"
pin-project-lite = "0.2.13"
tokio-test = "0.4"
blake3 = "1.5.1"
divan = "0.1.14"
[dev-dependencies.cargo-husky]
default-features = false
features = ["precommit-hook", "run-cargo-clippy", "run-cargo-fmt"]
version = "1"
# needed because it otherwise takes too long to sign transaction with STARK proofs
[profile.dev.package.triton-vm]
opt-level = 0
[profile.release.package.triton-vm]
opt-level = 3
[profile.bench.package.triton-vm]
opt-level = 3
[profile.test.package.triton-vm]
opt-level = 0
# [profile.test]
# opt-level = 0 # change to 3 for shorter test running times but much longer test compilation time
# debug = true
# debug-assertions = true
# overflow-checks = true
# lto = false
# incremental = true
# codegen-units = 256
# rpath = false
## We use harness = false on these so that the divan reports are output on stdout.
[[bench]]
name = "sync_atomic"
harness = false
[[bench]]
name = "db_leveldb"
harness = false
[[bench]]
name = "db_dbtvec"
harness = false
[[bench]]
name = "archival_mmr"
harness = false
[patch.crates-io]
# 694f27daf78aade0ed0dc07e3babaab036cd5572 is tip of branch: master as of 2024-04-30
tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "694f27daf78aade0ed0dc07e3babaab036cd5572" }
# 0d2cb98c0495d30e53d28e82a35de44dc655c3ea = tip of branch: master, on 2024-04-24
twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first.git", rev = "0d2cb98c0495d30e53d28e82a35de44dc655c3ea" }