veloren/network/protocol/Cargo.toml

37 lines
925 B
TOML
Raw Normal View History

[package]
name = "veloren-network-protocol"
description = "pure Protocol without any I/O itself"
version = "0.6.1"
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
2022-01-26 14:46:40 +00:00
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
metrics = ["prometheus"]
trace_pedantic = [] # use for debug only
default = ["metrics"]
[dependencies]
#tracing and metrics
tracing = { workspace = true }
prometheus = { workspace = true, optional = true }
#stream flags
bitflags = { workspace = true }
rand = { workspace = true }
# async traits
async-trait = "0.1.42"
bytes = "^1"
hashbrown = { workspace = true }
[dev-dependencies]
async-channel = "1.6"
tokio = { workspace = true, features = ["macros"] }
2023-08-27 16:13:32 +00:00
criterion = { version = "0.5.1", default-features=false, features=["rayon", "cargo_bench_support", "async_tokio"]}
[[bench]]
name = "protocols"
2022-01-26 14:46:40 +00:00
harness = false