cuprate-hinto-janai/consensus/Cargo.toml

51 lines
1.3 KiB
TOML
Raw Normal View History

2023-09-03 22:50:38 +00:00
[package]
name = "monero-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"]
2023-10-05 16:54:19 +00:00
binaries = [
"dep:tokio",
"dep:tracing-subscriber",
"tower/retry",
"tower/balance",
"tower/buffer",
"dep:serde_json",
"dep:serde",
"dep:monero-epee-bin-serde",
"dep:monero-wire"
]
2023-09-03 22:50:38 +00:00
[dependencies]
hex = "0.4"
thiserror = "1"
tower = {version = "0.4", features = ["util"]}
tracing = "0.1"
futures = "0.3"
2023-09-03 22:50:38 +00:00
2023-09-06 14:54:49 +00:00
crypto-bigint = "0.5"
2023-09-05 10:56:07 +00:00
randomx-rs = "1"
monero-serai = {git="https://github.com/Cuprate/serai.git", rev = "df4af7b"}
2023-09-03 22:50:38 +00:00
cuprate-common = {path = "../common"}
2023-09-05 10:56:07 +00:00
cryptonight-cuprate = {path = "../cryptonight"}
2023-09-03 22:50:38 +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
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
tracing-subscriber = {version = "0.3", optional = true}
# here to help cargo to pick a version - remove me
2023-10-04 13:50:13 +00:00
syn = "2.0.37"
[profile.dev]
opt-level = 3