[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:tracing-subscriber", "dep:serde_json", "dep:serde", "dep:epee-encoding", "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 } curve25519-dalek = { workspace = true } rayon = { workspace = true } thread_local = { workspace = true } tokio = { workspace = true, features = ["rt"] } tokio-util = { workspace = true } hex = "0.4" # used in binaries monero-wire = {path="../net/monero-wire", optional = true} epee-encoding = { path="../net/epee-encoding" , 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 = { workspace = true, features = ["rt-multi-thread", "macros"]} proptest = { workspace = true } proptest-derive = { workspace = true }