[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 = [ "tokio/rt-multi-thread", "tokio/macros", "tower/retry", "tower/balance", "tower/buffer", "tower/timeout", "monero-serai/http-rpc", "dep:curve25519-dalek", "dep:tracing-subscriber", "dep:serde_json", "dep:serde", "dep:monero-epee-bin-serde", "dep:monero-wire", "dep:borsh", "dep:dirs", "dep:clap" ] [dependencies] cuprate-helper = { path = "../helper", default-features = false, features = ["std", "asynch", "num"] } monero-consensus = {path = "./rules", features = ["rayon"]} thiserror = { workspace = true } tower = { workspace = true, features = ["util"] } tracing = { workspace = true, features = ["std", "attributes"] } futures = { workspace = true, features = ["std"] } randomx-rs = { workspace = true } monero-serai = { workspace = true, features = ["std"] } multiexp = { workspace = true } dalek-ff-group = { workspace = true } rayon = { workspace = true } thread_local = { workspace = true } tokio = { workspace = true } tokio-util = { workspace = true } 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"] } curve25519-dalek = { workspace = true, optional = true } # here to help cargo to pick a version - remove me syn = "2.0.37" [dev-dependencies] monero-consensus = {path = "./rules", features = ["proptest"]} tokio = { workspace = true, features = ["rt-multi-thread", "macros"]} proptest = { workspace = true } proptest-derive = { workspace = true }