mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
25 lines
814 B
TOML
25 lines
814 B
TOML
[package]
|
|
name = "veloren-query-server"
|
|
version = "0.1.0"
|
|
authors = ["crabman <vlrncrabman+veloren@gmail.com>", "XVar <atomyc@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
server = ["dep:tokio", "dep:rand"]
|
|
client = ["dep:tokio", "tokio/time"]
|
|
example = ["tokio/macros", "tokio/rt-multi-thread", "dep:tracing-subscriber"]
|
|
default = ["server", "client"]
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, optional = true, features = ["net", "sync"] }
|
|
protocol = { version = "3.4.0", default-features = false, features = ["derive"] }
|
|
tracing-subscriber = { version = "0.3.7", optional = true }
|
|
tracing = { workspace = true }
|
|
rand = { workspace = true, optional = true }
|
|
|
|
[[example]]
|
|
name = "demo"
|
|
required-features = ["example"]
|