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"]
|
|
|
|
|
2023-12-17 01:54:24 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2023-07-01 12:53:46 +00:00
|
|
|
[dependencies]
|
|
|
|
# Macros
|
2023-11-05 14:43:40 +00:00
|
|
|
once_cell = { version = "1", default-features = false }
|
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"] }
|
2023-11-25 09:01:11 +00:00
|
|
|
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
|
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
|
2023-11-26 16:22:18 +00:00
|
|
|
tokio = { version = "1", default-features = false, features = ["rt", "time", "io-util", "net", "macros"] }
|
2023-07-01 12:53:46 +00:00
|
|
|
|
2024-01-04 06:08:13 +00:00
|
|
|
zalloc = { path = "../common/zalloc" }
|
2023-11-30 09:22:37 +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-11-26 16:22:18 +00:00
|
|
|
serai-primitives = { path = "../substrate/primitives", features = ["borsh"] }
|
2023-07-20 22:53:03 +00:00
|
|
|
|
|
|
|
[features]
|
2023-11-30 09:22:37 +00:00
|
|
|
parity-db = ["serai-db/parity-db"]
|
|
|
|
rocksdb = ["serai-db/rocksdb"]
|