mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
coordinator/tributary was tributary-chain. This crate has been renamed tributary-sdk and moved to coordinator/tributary-sdk. coordinator/src/tributary was our instantion of a Tributary, the Transaction type and scan task. This has been moved to coordinator/tributary. The main reason for this was due to coordinator/main.rs becoming untidy. There is now a collection of clean, independent APIs present in the codebase. coordinator/main.rs is to compose them. Sometimes, these compositions are a bit silly (reading from a channel just to forward the message to a distinct channel). That's more than fine as the code is still readable and the value from the cleanliness of the APIs composed far exceeds the nits from having these odd compositions. This breaks down a bit as we now define a global database, and have some APIs interact with multiple other APIs. coordinator/src/tributary was a self-contained, clean API. The recently added task present in coordinator/tributary/mod.rs, which bound it to the rest of the Coordinator, wasn't. Now, coordinator/src is solely the API compositions, and all self-contained APIs are their own crates.
64 lines
2.6 KiB
TOML
64 lines
2.6 KiB
TOML
[package]
|
|
name = "serai-coordinator"
|
|
version = "0.1.0"
|
|
description = "Serai coordinator to prepare batches and sign transactions"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/coordinator"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
publish = false
|
|
rust-version = "1.81"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
zeroize = { version = "^1.5", default-features = false, features = ["std"] }
|
|
bitvec = { version = "1", default-features = false, features = ["std"] }
|
|
rand_core = { version = "0.6", default-features = false, features = ["std"] }
|
|
|
|
blake2 = { version = "0.10", default-features = false, features = ["std"] }
|
|
schnorrkel = { version = "0.11", default-features = false, features = ["std"] }
|
|
|
|
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std"] }
|
|
schnorr = { package = "schnorr-signatures", path = "../crypto/schnorr", default-features = false, features = ["std"] }
|
|
frost = { package = "modular-frost", path = "../crypto/frost" }
|
|
frost-schnorrkel = { path = "../crypto/schnorrkel" }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std", "derive"] }
|
|
|
|
zalloc = { path = "../common/zalloc" }
|
|
serai-db = { path = "../common/db" }
|
|
serai-env = { path = "../common/env" }
|
|
serai-task = { path = "../common/task", version = "0.1" }
|
|
|
|
messages = { package = "serai-processor-messages", path = "../processor/messages" }
|
|
message-queue = { package = "serai-message-queue", path = "../message-queue" }
|
|
tributary-sdk = { path = "./tributary-sdk" }
|
|
|
|
serai-client = { path = "../substrate/client", default-features = false, features = ["serai", "borsh"] }
|
|
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
|
|
|
|
log = { version = "0.4", default-features = false, features = ["std"] }
|
|
env_logger = { version = "0.10", default-features = false, features = ["humantime"] }
|
|
|
|
tokio = { version = "1", default-features = false, features = ["time", "sync", "macros", "rt-multi-thread"] }
|
|
|
|
serai-cosign = { path = "./cosign" }
|
|
serai-coordinator-substrate = { path = "./substrate" }
|
|
serai-coordinator-tributary = { path = "./tributary" }
|
|
serai-coordinator-p2p = { path = "./p2p" }
|
|
serai-coordinator-libp2p-p2p = { path = "./p2p/libp2p" }
|
|
|
|
[features]
|
|
longer-reattempts = ["serai-coordinator-tributary/longer-reattempts"]
|
|
parity-db = ["serai-db/parity-db"]
|
|
rocksdb = ["serai-db/rocksdb"]
|