2019-12-20 13:56:01 +00:00
|
|
|
[package]
|
2020-03-10 00:07:36 +00:00
|
|
|
name = "veloren_network"
|
2019-12-20 13:56:01 +00:00
|
|
|
version = "0.1.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
|
|
|
|
|
2020-07-14 23:34:41 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
metrics = ["prometheus"]
|
|
|
|
|
|
|
|
default = ["metrics"]
|
|
|
|
|
2019-12-20 13:56:01 +00:00
|
|
|
[dependencies]
|
|
|
|
|
2020-07-05 18:14:47 +00:00
|
|
|
lz4-compress = "0.1.1"
|
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-07-14 23:34:41 +00:00
|
|
|
prometheus = { version = "0.9", 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-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-06-01 00:13:35 +00:00
|
|
|
uvth = { version = ">= 3.0, <= 4.0", default-features = false }
|