2024-04-25 12:01:54 +00:00
|
|
|
[package]
|
2024-04-25 12:47:23 +00:00
|
|
|
name = "veloren-query-server"
|
2024-04-25 12:01:54 +00:00
|
|
|
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]
|
2024-04-29 07:20:07 +00:00
|
|
|
server = ["dep:rand"]
|
|
|
|
client = ["tokio/time"]
|
2024-04-30 15:48:19 +00:00
|
|
|
example = ["tokio/macros", "tokio/rt-multi-thread", "dep:tracing-subscriber", "client", "server"]
|
|
|
|
default = []
|
2024-04-25 12:01:54 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-04-29 07:20:07 +00:00
|
|
|
tokio = { workspace = true, features = ["net", "sync"] }
|
2024-04-25 12:01:54 +00:00
|
|
|
protocol = { version = "3.4.0", default-features = false, features = ["derive"] }
|
|
|
|
tracing-subscriber = { version = "0.3.7", optional = true }
|
|
|
|
tracing = { workspace = true }
|
2024-04-28 12:58:23 +00:00
|
|
|
rand = { workspace = true, optional = true }
|
2024-04-25 12:47:51 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "demo"
|
|
|
|
required-features = ["example"]
|