cuprate/consensus/Cargo.toml

71 lines
2 KiB
TOML
Raw Normal View History

2023-09-03 22:50:38 +00:00
[package]
name = "cuprate-consensus"
2023-09-03 22:50:38 +00:00
version = "0.1.0"
edition = "2021"
description = "A crate implimenting all Moneros consensus rules."
license = "MIT"
authors = ["Boog900"]
repository = "https://github.com/Cuprate/cuprate/tree/main/consensus"
[features]
2024-01-21 14:46:03 +00:00
default = []
2023-10-05 16:54:19 +00:00
binaries = [
2023-10-23 18:14:40 +00:00
"tokio/rt-multi-thread",
"tokio/macros",
2023-10-05 16:54:19 +00:00
"tower/retry",
"tower/balance",
"tower/buffer",
"tower/timeout",
2024-01-21 14:46:03 +00:00
"monero-serai/http-rpc",
"dep:curve25519-dalek",
"dep:tracing-subscriber",
2023-10-05 16:54:19 +00:00
"dep:serde_json",
"dep:serde",
"dep:monero-epee-bin-serde",
2023-10-24 01:25:11 +00:00
"dep:monero-wire",
2023-12-18 14:36:22 +00:00
"dep:borsh",
2023-12-08 15:36:45 +00:00
"dep:dirs",
"dep:clap"
2023-10-05 16:54:19 +00:00
]
2023-09-03 22:50:38 +00:00
[dependencies]
2024-01-21 14:46:03 +00:00
cuprate-common = {path = "../common"}
monero-consensus = {path = "./rules", features = ["rayon"]}
2024-01-21 14:46:03 +00:00
thiserror = { workspace = true }
tower = { workspace = true, features = ["util"] }
tracing = { workspace = true, features = ["std", "attributes"] }
futures = { workspace = true, features = ["std"] }
2023-09-03 22:50:38 +00:00
2024-01-21 14:46:03 +00:00
randomx-rs = { workspace = true }
monero-serai = { workspace = true, features = ["std"] }
2023-12-17 14:32:03 +00:00
multiexp = { workspace = true }
dalek-ff-group = { workspace = true }
2023-09-03 22:50:38 +00:00
2024-01-21 14:46:03 +00:00
rayon = { workspace = true }
thread_local = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
2023-10-23 18:14:40 +00:00
hex = "0.4"
# used in binaries
2023-10-05 16:54:19 +00:00
monero-wire = {path="../net/monero-wire", optional = true}
2023-12-17 14:32:03 +00:00
monero-epee-bin-serde = { workspace = true , optional = true}
2023-09-06 14:54:49 +00:00
serde_json = {version = "1", optional = true}
serde = {version = "1", optional = true, features = ["derive"]}
2023-09-03 22:50:38 +00:00
tracing-subscriber = {version = "0.3", optional = true}
2023-12-18 14:36:22 +00:00
borsh = { workspace = true, optional = true}
2023-10-24 01:25:11 +00:00
dirs = {version="5.0", optional = true}
2023-12-08 15:36:45 +00:00
clap = { version = "4.4.8", optional = true, features = ["derive"] }
2024-01-21 14:46:03 +00:00
curve25519-dalek = { workspace = true, optional = true }
2023-09-03 22:50:38 +00:00
# here to help cargo to pick a version - remove me
2023-10-04 13:50:13 +00:00
syn = "2.0.37"
2023-10-23 18:14:40 +00:00
[dev-dependencies]
2023-12-17 03:13:30 +00:00
monero-consensus = {path = "./rules", features = ["proptest"]}
2024-01-21 14:46:03 +00:00
tokio = { workspace = true, features = ["rt-multi-thread", "macros"]}
proptest = { workspace = true }
proptest-derive = { workspace = true }