veloren/common/query_server/Cargo.toml

31 lines
935 B
TOML
Raw Permalink Normal View History

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-05-09 12:53:54 +00:00
example = ["tokio/macros", "tokio/rt-multi-thread", "dep:tracing-subscriber", "dep:clap", "client", "server"]
2024-04-30 15:48:19 +00:00
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"] }
2024-05-09 12:53:54 +00:00
2024-04-25 12:01:54 +00:00
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-05-09 12:53:54 +00:00
clap = { workspace = true, features = ["derive"], optional = true }
2024-04-25 12:47:51 +00:00
[[example]]
2024-05-09 12:53:54 +00:00
name = "query_client"
2024-04-25 12:47:51 +00:00
required-features = ["example"]
2024-05-09 12:53:54 +00:00
[[example]]
name = "dummy_query_server"
required-features = ["example"]