mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
c4bdbdde11
* Updates to modern dockertest * More updates to latest dockertest * Update Cargo.lock to dockertest with handle restored * clippy coordinator tests * clippy full-stack tests * Remove kayabaNerve branch for official repo's latest commit hash * Update serai-client, remove reliance on the existence of a handle fn * Don't use the hex encoding of unique_id in dockertests Gets our hostnames just below 64 bytes, resolving test failures on at least Debian-based systems. * Use Network::Isolated for all dockertest instances * Correct error from prior commit's edits
58 lines
1.7 KiB
TOML
58 lines
1.7 KiB
TOML
[package]
|
|
name = "serai-client"
|
|
version = "0.1.0"
|
|
description = "Client library for the Serai network"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/client"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["serai"]
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
zeroize = "^1.5"
|
|
thiserror = { version = "1", optional = true }
|
|
|
|
futures = "0.3"
|
|
|
|
scale = { package = "parity-scale-codec", version = "3" }
|
|
scale-info = { version = "2", optional = true }
|
|
|
|
serai-runtime = { path = "../runtime", version = "0.1" }
|
|
|
|
sp-core = { git = "https://github.com/serai-dex/substrate" }
|
|
subxt = { version = "0.29", default-features = false, features = ["jsonrpsee-ws"], optional = true }
|
|
|
|
bitcoin = { version = "0.30", optional = true }
|
|
|
|
ciphersuite = { path = "../../crypto/ciphersuite", version = "0.4", optional = true }
|
|
monero-serai = { path = "../../coins/monero", version = "0.1.4-alpha", optional = true }
|
|
|
|
[dev-dependencies]
|
|
rand_core = "0.6"
|
|
hex = "0.4"
|
|
|
|
blake2 = "0.10"
|
|
|
|
ciphersuite = { path = "../../crypto/ciphersuite", features = ["ristretto"] }
|
|
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["tests"] }
|
|
schnorrkel = { path = "../../crypto/schnorrkel", package = "frost-schnorrkel" }
|
|
|
|
tokio = "1"
|
|
|
|
dockertest = "0.4"
|
|
serai-docker-tests = { path = "../../tests/docker" }
|
|
|
|
[features]
|
|
serai = ["thiserror", "scale-info", "subxt"]
|
|
|
|
networks = []
|
|
bitcoin = ["networks", "dep:bitcoin"]
|
|
monero = ["networks", "ciphersuite/ed25519", "monero-serai"]
|
|
|
|
# Assumes the default usage is to use Serai as a DEX, which doesn't actually
|
|
# require connecting to a Serai node
|
|
default = ["bitcoin", "monero"]
|