2023-07-01 12:53:46 +00:00
|
|
|
[package]
|
|
|
|
name = "serai-message-queue"
|
|
|
|
version = "0.1.0"
|
2023-07-20 22:53:03 +00:00
|
|
|
description = "A message queue for Serai focused on consistency"
|
2023-07-01 12:53:46 +00:00
|
|
|
license = "AGPL-3.0-only"
|
2023-07-20 22:53:03 +00:00
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/message-queue"
|
2023-07-01 12:53:46 +00:00
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
keywords = []
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Macros
|
2023-11-05 14:43:40 +00:00
|
|
|
once_cell = { version = "1", default-features = false }
|
2023-10-31 11:41:23 +00:00
|
|
|
serde = { version = "1", default-features = false, features = ["std", "derive"] }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
|
|
|
# Encoders
|
2023-10-31 11:41:23 +00:00
|
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
bincode = { version = "1", default-features = false }
|
|
|
|
serde_json = { version = "1", default-features = false, features = ["std"] }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
2023-07-18 05:53:51 +00:00
|
|
|
# Libs
|
2023-10-31 11:41:23 +00:00
|
|
|
zeroize = { version = "1", default-features = false, features = ["std"] }
|
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["std"] }
|
2023-07-18 05:53:51 +00:00
|
|
|
|
2023-07-01 12:53:46 +00:00
|
|
|
# Cryptography
|
2023-10-31 11:41:23 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../crypto/transcript", default-features = false, features = ["std", "recommended"] }
|
|
|
|
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] }
|
|
|
|
schnorr-signatures = { path = "../crypto/schnorr", default-features = false, features = ["std"] }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
|
|
|
# Application
|
2023-10-31 11:41:23 +00:00
|
|
|
log = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
env_logger = { version = "0.10", default-features = false, features = ["humantime"] }
|
2023-07-20 22:53:03 +00:00
|
|
|
|
2023-10-31 11:41:23 +00:00
|
|
|
# Uses a single threaded runtime since this shouldn't ever be CPU-bound
|
|
|
|
tokio = { version = "1", default-features = false, features = ["rt", "time", "macros"] }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
2023-07-26 02:19:32 +00:00
|
|
|
serai-db = { path = "../common/db", optional = true }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
2023-07-17 04:50:46 +00:00
|
|
|
serai-env = { path = "../common/env" }
|
|
|
|
|
2023-07-01 12:53:46 +00:00
|
|
|
serai-primitives = { path = "../substrate/primitives" }
|
|
|
|
|
2023-10-31 11:41:23 +00:00
|
|
|
jsonrpsee = { version = "0.16", default-features = false, features = ["server"], optional = true }
|
2023-11-06 14:14:46 +00:00
|
|
|
simple-request = { path = "../common/request", default-features = false }
|
2023-07-20 22:53:03 +00:00
|
|
|
|
|
|
|
[features]
|
2023-07-26 02:19:32 +00:00
|
|
|
binaries = ["serai-db", "serai-db/rocksdb", "jsonrpsee"]
|