mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[package]
|
|
name = "gamedig"
|
|
version = "0.4.1"
|
|
edition = "2021"
|
|
authors = [
|
|
"rust-GameDig contributors [https://github.com/gamedig/rust-gamedig/contributors]",
|
|
"node-GameDig contributors [https://github.com/gamedig/node-gamedig/contributors]",
|
|
]
|
|
license = "MIT"
|
|
description = "Query game servers and not only."
|
|
homepage = "https://github.com/gamedig/rust-gamedig"
|
|
documentation = "https://docs.rs/gamedig/latest/gamedig/"
|
|
repository = "https://github.com/gamedig/rust-gamedig"
|
|
readme = "README.md"
|
|
keywords = ["server", "query", "game", "check", "status"]
|
|
rust-version = "1.65.0"
|
|
categories = ["parser-implementations", "parsing", "network-programming", "encoding"]
|
|
|
|
[features]
|
|
default = ["games", "services", "game_defs", "packet_capture",]
|
|
games = []
|
|
services = []
|
|
game_defs = ["dep:phf", "games"]
|
|
serde = ["dep:serde", "serde/derive"]
|
|
clap = ["dep:clap"]
|
|
packet_capture = ["dep:pcap-file", "dep:pnet_packet", "dep:lazy_static"]
|
|
|
|
[dependencies]
|
|
byteorder = "1.5"
|
|
bzip2-rs = "0.1"
|
|
crc32fast = "1.3"
|
|
serde_json = "1.0"
|
|
encoding_rs = "0.8"
|
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
phf = { version = "0.11", optional = true, features = ["macros"] }
|
|
|
|
clap = { version = "4.1.11", optional = true, features = ["derive"] }
|
|
|
|
pcap-file = { version = "2.0", optional = true }
|
|
pnet_packet = { version = "0.34", optional = true }
|
|
lazy_static = { version = "1.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
gamedig-id-tests = { path = "../id-tests", no-default-features = true }
|
|
|
|
# Examples
|
|
[[example]]
|
|
name = "minecraft"
|
|
required-features = ["games"]
|
|
|
|
[[example]]
|
|
name = "teamfortress2"
|
|
required-features = ["games"]
|
|
|
|
[[example]]
|
|
name = "valve_master_server_query"
|
|
required-features = ["services"]
|
|
|
|
[[example]]
|
|
name = "generic"
|
|
required-features = ["games", "game_defs"]
|