mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
72 lines
No EOL
1.7 KiB
TOML
72 lines
No EOL
1.7 KiB
TOML
[package]
|
|
name = "cuprate-consensus"
|
|
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"]
|
|
binaries = [
|
|
"tokio/rt-multi-thread",
|
|
"tokio/macros",
|
|
"dep:tracing-subscriber",
|
|
"tower/retry",
|
|
"tower/balance",
|
|
"tower/buffer",
|
|
"tower/timeout",
|
|
"dep:serde_json",
|
|
"dep:serde",
|
|
"dep:monero-epee-bin-serde",
|
|
"dep:monero-wire",
|
|
"dep:borsh",
|
|
"dep:dirs",
|
|
"dep:clap"
|
|
]
|
|
|
|
[dependencies]
|
|
monero-consensus = {path = "./rules", features = ["rayon"]}
|
|
|
|
thiserror = "1"
|
|
tower = {version = "0.4", features = ["util"]}
|
|
tracing = "0.1"
|
|
futures = "0.3"
|
|
|
|
crypto-bigint = "0.5"
|
|
curve25519-dalek = "4"
|
|
|
|
randomx-rs = "1"
|
|
monero-serai = { workspace = true }
|
|
multiexp = { workspace = true }
|
|
dalek-ff-group = { workspace = true }
|
|
|
|
cuprate-common = {path = "../common"}
|
|
|
|
rayon = "1"
|
|
thread_local = "1.1.7"
|
|
tokio = "1"
|
|
tokio-util = "0.7"
|
|
|
|
hex = "0.4"
|
|
|
|
# used in binaries
|
|
monero-wire = {path="../net/monero-wire", optional = true}
|
|
monero-epee-bin-serde = { workspace = true , optional = true}
|
|
serde_json = {version = "1", optional = true}
|
|
serde = {version = "1", optional = true, features = ["derive"]}
|
|
tracing-subscriber = {version = "0.3", optional = true}
|
|
borsh = { workspace = true, optional = true}
|
|
dirs = {version="5.0", optional = true}
|
|
clap = { version = "4.4.8", optional = true, features = ["derive"] }
|
|
# here to help cargo to pick a version - remove me
|
|
syn = "2.0.37"
|
|
|
|
|
|
[dev-dependencies]
|
|
monero-consensus = {path = "./rules", features = ["proptest"]}
|
|
|
|
tokio = {version = "1", features = ["rt-multi-thread", "macros"]}
|
|
proptest = "1"
|
|
proptest-derive = "0.4.0" |