serai/processor/Cargo.toml
2023-04-08 03:01:14 -04:00

69 lines
1.9 KiB
TOML

[package]
name = "processor"
version = "0.1.0"
description = "Multichain processor premised on canonicity to reach distributed consensus automatically"
license = "AGPL-3.0-only"
repository = "https://github.com/serai-dex/serai/tree/develop/processor"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
keywords = []
edition = "2021"
publish = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
# Macros
async-trait = "0.1"
lazy_static = "1"
zeroize = "1"
thiserror = "1"
serde = { version = "1", features = ["derive"] }
# Libs
rand_core = "0.6"
rand_chacha = "0.3"
# Encoders
hex = "0.4"
scale = { package = "parity-scale-codec", version = "3" }
bincode = "1"
serde_json = "1"
# Cryptography
group = "0.13"
transcript = { package = "flexible-transcript", path = "../crypto/transcript" }
frost = { package = "modular-frost", path = "../crypto/frost", features = ["ristretto"] }
# Bitcoin
secp256k1 = { version = "0.24", features = ["global-context", "rand-std"], optional = true }
k256 = { version = "0.13", features = ["arithmetic"], optional = true }
bitcoin-serai = { path = "../coins/bitcoin", optional = true }
# Monero
dalek-ff-group = { path = "../crypto/dalek-ff-group", optional = true }
monero-serai = { path = "../coins/monero", features = ["multisig"], optional = true }
# Application
log = "0.4"
tokio = { version = "1", features = ["full"] }
serai-client = { path = "../substrate//client", default-features = false }
messages = { package = "processor-messages", path = "./messages" }
[dev-dependencies]
futures = "0.3"
frost = { package = "modular-frost", path = "../crypto/frost", features = ["tests"] }
env_logger = "0.10"
[features]
secp256k1 = ["k256", "frost/secp256k1"]
bitcoin = ["dep:secp256k1", "secp256k1", "bitcoin-serai", "serai-client/bitcoin"]
ed25519 = ["dalek-ff-group", "frost/ed25519"]
monero = ["ed25519", "monero-serai", "serai-client/monero"]