2023-09-03 22:50:38 +00:00
|
|
|
[package]
|
2023-12-14 15:39:16 +00:00
|
|
|
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]
|
|
|
|
default = ["binaries"]
|
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
|
|
|
"dep:tracing-subscriber",
|
|
|
|
"tower/retry",
|
|
|
|
"tower/balance",
|
|
|
|
"tower/buffer",
|
2023-10-23 21:24:02 +00:00
|
|
|
"tower/timeout",
|
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",
|
|
|
|
"dep:bincode",
|
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]
|
2023-12-16 23:03:02 +00:00
|
|
|
monero-consensus = {path = "./rules", features = ["rayon"]}
|
|
|
|
|
2023-09-03 22:50:38 +00:00
|
|
|
thiserror = "1"
|
|
|
|
tower = {version = "0.4", features = ["util"]}
|
|
|
|
tracing = "0.1"
|
2023-10-03 21:10:31 +00:00
|
|
|
futures = "0.3"
|
2023-09-03 22:50:38 +00:00
|
|
|
|
2023-09-06 14:54:49 +00:00
|
|
|
crypto-bigint = "0.5"
|
2023-10-20 00:04:26 +00:00
|
|
|
curve25519-dalek = "4"
|
2023-09-06 14:54:49 +00:00
|
|
|
|
2023-09-05 10:56:07 +00:00
|
|
|
randomx-rs = "1"
|
2023-12-16 23:03:02 +00:00
|
|
|
monero-serai = { workspace = true }
|
2023-12-02 22:57:34 +00:00
|
|
|
multiexp = {git="https://github.com/cuprate/serai.git", rev = "4a5d860"}
|
|
|
|
dalek-ff-group = {git="https://github.com/cuprate/serai.git", rev = "4a5d860"}
|
2023-09-03 22:50:38 +00:00
|
|
|
|
|
|
|
cuprate-common = {path = "../common"}
|
|
|
|
|
2023-10-23 18:14:40 +00:00
|
|
|
rayon = "1"
|
2023-11-18 14:00:33 +00:00
|
|
|
thread_local = "1.1.7"
|
2023-10-23 18:14:40 +00:00
|
|
|
tokio = "1"
|
2023-10-31 02:59:31 +00:00
|
|
|
tokio-util = "0.7"
|
2023-10-23 18:14:40 +00:00
|
|
|
|
2023-12-16 23:03:02 +00:00
|
|
|
hex = "0.4"
|
|
|
|
|
2023-10-03 21:10:31 +00:00
|
|
|
# used in binaries
|
2023-10-05 16:54:19 +00:00
|
|
|
monero-wire = {path="../net/monero-wire", optional = true}
|
|
|
|
monero-epee-bin-serde = {git = "https://github.com/monero-rs/monero-epee-bin-serde.git", rev = "e4a585a", 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-10-24 01:25:11 +00:00
|
|
|
bincode = {version = "2.0.0-rc.3", optional = true}
|
|
|
|
dirs = {version="5.0", optional = true}
|
2023-12-08 15:36:45 +00:00
|
|
|
clap = { version = "4.4.8", optional = true, features = ["derive"] }
|
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
|
|
|
|
2023-10-28 23:39:22 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-12-17 03:13:30 +00:00
|
|
|
monero-consensus = {path = "./rules", features = ["proptest"]}
|
|
|
|
|
2023-10-28 23:39:22 +00:00
|
|
|
tokio = {version = "1", features = ["rt-multi-thread", "macros"]}
|
|
|
|
proptest = "1"
|
|
|
|
proptest-derive = "0.4.0"
|