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"
|
2024-02-15 16:03:04 +00:00
|
|
|
description = "A crate implementing all Moneros consensus rules."
|
2023-09-03 22:50:38 +00:00
|
|
|
license = "MIT"
|
|
|
|
authors = ["Boog900"]
|
|
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/consensus"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-01-22 01:56:34 +00:00
|
|
|
cuprate-helper = { path = "../helper", default-features = false, features = ["std", "asynch", "num"] }
|
2024-05-31 00:52:12 +00:00
|
|
|
cuprate-consensus-rules = { path = "./rules", features = ["rayon"] }
|
2024-06-04 17:19:35 +00:00
|
|
|
cuprate-types = { path = "../types" }
|
2023-12-16 23:03:02 +00:00
|
|
|
|
2024-09-21 00:32:03 +00:00
|
|
|
cfg-if = { workspace = true }
|
2024-01-21 14:46:03 +00:00
|
|
|
thiserror = { workspace = true }
|
|
|
|
tower = { workspace = true, features = ["util"] }
|
|
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
2024-05-31 00:52:12 +00:00
|
|
|
futures = { workspace = true, features = ["std", "async-await"] }
|
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-09-03 22:50:38 +00:00
|
|
|
|
2024-01-21 14:46:03 +00:00
|
|
|
rayon = { workspace = true }
|
|
|
|
thread_local = { workspace = true }
|
2024-01-22 18:17:34 +00:00
|
|
|
tokio = { workspace = true, features = ["rt"] }
|
2024-01-21 14:46:03 +00:00
|
|
|
tokio-util = { workspace = true }
|
2023-10-23 18:14:40 +00:00
|
|
|
|
2024-05-31 00:52:12 +00:00
|
|
|
hex = { workspace = true }
|
2024-07-29 00:13:08 +00:00
|
|
|
rand = { workspace = true }
|
2023-10-28 23:39:22 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-05-31 00:52:12 +00:00
|
|
|
cuprate-test-utils = { path = "../test-utils" }
|
|
|
|
cuprate-consensus-rules = {path = "./rules", features = ["proptest"]}
|
|
|
|
|
|
|
|
hex-literal = { workspace = true }
|
2024-09-21 00:32:03 +00:00
|
|
|
curve25519-dalek = { workspace = true }
|
2023-12-17 03:13:30 +00:00
|
|
|
|
2024-01-21 14:46:03 +00:00
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"]}
|
2024-07-29 00:13:08 +00:00
|
|
|
tokio-test = { workspace = true }
|
2024-01-21 14:46:03 +00:00
|
|
|
proptest = { workspace = true }
|
2024-09-21 00:32:03 +00:00
|
|
|
proptest-derive = { workspace = true }
|
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|