veloren/network/Cargo.toml

44 lines
1.5 KiB
TOML
Raw Normal View History

[package]
name = "veloren_network"
version = "0.2.0"
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
metrics = ["prometheus"]
compression = ["lz-fear"]
default = ["metrics","compression"]
[dependencies]
2020-03-04 15:52:30 +00:00
#serialisation
bincode = "1.2"
serde = { version = "1.0" }
2020-03-04 15:52:30 +00:00
#sending
crossbeam-channel = "0.4.2"
# NOTE: Upgrading async-std can trigger spontanious crashes for `network`ing. Consider elaborate tests before upgrading
async-std = { version = "~1.5", default-features = false, features = ["std", "async-task", "default"] }
2020-03-04 15:52:30 +00:00
#tracing and metrics
tracing = { version = "0.1", default-features = false }
tracing-futures = "0.2"
2020-11-06 13:14:54 +00:00
prometheus = { version = "0.10", default-features = false, optional = true }
2020-03-04 15:52:30 +00:00
#async
futures = { version = "0.3", features = ["thread-pool"] }
#mpsc channel registry
lazy_static = { version = "1.4", default-features = false }
rand = { version = "0.7" }
#stream flags
bitflags = "1.2.1"
lz-fear = { version = "0.1.1", optional = true }
[dev-dependencies]
tracing-subscriber = { version = "0.2.3", default-features = false, features = ["env-filter", "fmt", "chrono", "ansi", "smallvec"] }
# `uvth` needed for doc tests
uvth = { version = ">= 3.0, <= 4.0", default-features = false }
clap = { version = "2.33", default-features = false }
shellexpand = "2.0.0"
tiny_http = "0.7.0"
serde = { version = "1.0", features = ["derive"] }