[package]
name = "mpc-manager"
version = "0.1.1"
edition = "2021"
authors = ["aon <21188659+aon@users.noreply.github.com>"]
license-file = "LICENSE"
description = "A WebSocket Manager that facilitates secure communication between parties for multi party computation applications."
homepage = "https://github.com/CoinFabrik"
repository = "https://github.com/CoinFabrik/mpc-manager"
readme = "README.md"
keywords = ["mpc", "websocket", "multi", "party", "computation"]
categories = ["cryptography", "network-programming", "security", "web-programming"]
documentation = "https://docs.rs/mpc-manager"
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "mpc-manager"
[features]
default = []
server = [
"axum",
"config",
"dotenv",
"futures-util",
"json-rpc2",
"serde-aux",
"tokio",
"tokio-stream",
"tower",
"tower-http",
"tracing",
"tracing-bunyan-formatter",
"tracing-log",
"tracing-subscriber"
]
[dependencies]
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
strum = { version = "0.24", features = ["derive"] }
thiserror = "1"
uuid = { version = "1.2.2", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] }
axum = { version = "0.6.2", features = ["ws"], optional = true }
config = { version = "0.13", optional = true }
dotenv = { version = "0.15.0", optional = true }
futures-util = { version = "0.3", optional = true }
json-rpc2 = { version = "0.11", features = ["async"], optional = true }
serde-aux = { version = "3", optional = true }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"], optional = true }
tokio-stream = { version = "0.1", optional = true }
tower = { version = "0.4", features = ["util"], optional = true }
tower-http = { version = "0.3", features = ["trace"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-bunyan-formatter = { version = "0.3", optional = true }
tracing-log = { version = "0.1", optional = true}
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"], optional = true }
[dev-dependencies]
once_cell = "1"