2019-12-20 13:56:01 +00:00
|
|
|
[package]
|
2020-03-10 00:07:36 +00:00
|
|
|
name = "veloren_network"
|
2020-08-25 13:32:42 +00:00
|
|
|
version = "0.2.0"
|
2019-12-20 13:56:01 +00:00
|
|
|
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
|
|
|
|
|
2020-07-14 23:34:41 +00:00
|
|
|
[features]
|
|
|
|
metrics = ["prometheus"]
|
2020-08-25 13:32:42 +00:00
|
|
|
compression = ["lz-fear"]
|
2020-07-14 23:34:41 +00:00
|
|
|
|
2020-08-25 13:32:42 +00:00
|
|
|
default = ["metrics","compression"]
|
2020-07-14 23:34:41 +00:00
|
|
|
|
2019-12-20 13:56:01 +00:00
|
|
|
[dependencies]
|
|
|
|
|
2020-03-04 15:52:30 +00:00
|
|
|
#serialisation
|
2019-12-20 13:56:01 +00:00
|
|
|
bincode = "1.2"
|
2020-04-24 10:56:04 +00:00
|
|
|
serde = { version = "1.0" }
|
2020-03-04 15:52:30 +00:00
|
|
|
#sending
|
2020-07-03 19:55:00 +00:00
|
|
|
crossbeam-channel = "0.4.2"
|
2020-07-06 14:23:08 +00:00
|
|
|
# NOTE: Upgrading async-std can trigger spontanious crashes for `network`ing. Consider elaborate tests before upgrading
|
2020-06-01 00:13:35 +00:00
|
|
|
async-std = { version = "~1.5", default-features = false, features = ["std", "async-task", "default"] }
|
2020-03-04 15:52:30 +00:00
|
|
|
#tracing and metrics
|
2020-04-24 10:56:04 +00:00
|
|
|
tracing = { version = "0.1", default-features = false }
|
2020-03-22 13:47:21 +00:00
|
|
|
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
|
2020-03-22 13:47:21 +00:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2020-03-10 00:07:36 +00:00
|
|
|
#mpsc channel registry
|
2020-04-24 10:56:04 +00:00
|
|
|
lazy_static = { version = "1.4", default-features = false }
|
|
|
|
rand = { version = "0.7" }
|
2020-08-25 13:32:42 +00:00
|
|
|
#stream flags
|
|
|
|
bitflags = "1.2.1"
|
|
|
|
lz-fear = { version = "0.1.1", optional = true }
|
2020-02-25 18:30:50 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-06-08 09:47:39 +00:00
|
|
|
tracing-subscriber = { version = "0.2.3", default-features = false, features = ["env-filter", "fmt", "chrono", "ansi", "smallvec"] }
|
2020-07-06 14:23:08 +00:00
|
|
|
# `uvth` needed for doc tests
|
2020-08-26 08:07:22 +00:00
|
|
|
uvth = { version = ">= 3.0, <= 4.0", default-features = false }
|
|
|
|
clap = { version = "2.33", default-features = false }
|
|
|
|
shellexpand = "2.0.0"
|
2020-10-14 12:29:39 +00:00
|
|
|
tiny_http = "0.7.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|