-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (66 loc) · 2.15 KB
/
Copy pathCargo.toml
File metadata and controls
75 lines (66 loc) · 2.15 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
[package]
name = "neptune-explorer"
version = "0.1.0"
edition = "2021"
default-run = "neptune-explorer"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "high_rate_attack"
path = "src/bin/high_rate_attack.rs"
required-features = ["attacks"]
[[bin]]
name = "scraper"
path = "src/bin/scraper.rs"
required-features = ["attacks"]
[dependencies]
axum = { version = "0.7.9", features = ["macros"] }
boilerplate = { version = "1.0.1" }
chrono = "0.4.42"
clap = "4.5.50"
lettre = { version = "0.11.19", features = ["tokio1-native-tls"] }
neptune-cash = "0.16.0"
neptune-consensus = "0.16.0"
neptune-mempool = "0.16.0"
neptune-mutator-set = "0.16.0"
neptune-primitives = "0.16.0"
neptune-wallet = "0.16.0"
# neptune-cash = { git = "https://github.com/Neptune-Crypto/neptune-core.git", rev = "8a730f3bf93fd5f9a54740ca7844c2ba435f274c" }
num-traits = "0.2"
readonly = "0.2.13"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
tarpc = { version = "^0.34", features = [
"tokio1",
"serde-transport",
"serde-transport-json",
"tcp",
] }
thiserror = "1.0.69"
thousands = "0.2"
tracing = "0.1"
tracing-subscriber = "0.3"
tokio = { version = "1.48.0", features = ["full", "tracing"] }
tower-http = { version = "0.5.2", features = ["fs"] }
url = "2.5.7"
# only should be used inside main.rs, for the binary.
anyhow = "1.0.100"
arc-swap = "1.7.1"
derive_more = { version = "1.0.0", features = ["display"] }
# not a direct dep. workaround for weird "could not resolve" cargo error
indexmap = "2.12.0"
blake3 = { version = "1.8.2", optional = true }
rand = { version = "0.9.2", optional = true }
reqwest = { version = "0.12.24", optional = true }
log = { version = "0.4.28", optional = true }
env_logger = { version = "0.11.8", optional = true }
regex = { version = "1.12.2", optional = true }
futures = { version = "0.3.31", optional = true }
#[dev-dependencies]
test-strategy = "0.4.3"
proptest = "1.9.0"
arbitrary = "1.4.2"
proptest-arbitrary-interop = "0.1.0"
axum_gcra = "0.1.1"
[features]
mock = ["dep:blake3", "dep:rand"]
attacks = ["reqwest", "log", "env_logger", "regex", "dep:rand", "futures"]