mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
* protocols: Fix building without the "games" feature * crate/lib: Add required features for examples This prevents cargo from running the examples if the required features aren't enabled. * ci: Run if ANY Cargo.toml files are changed * ci: Make sure to run unit tests * ci: Separate checks for library and CLI * ci: Add slightly better comments * ci: Only run deeper tests for CLI or LIB when their files were changed * ci: Improve act arguments for testing actions locally * ci: Fix pre-commit not running tests * ci: Only update shared cache after the initial build * ci: Make sure that rustup downloads get cached * tidy: Clean up file formatting * ci: Fix issue with audit
52 lines
1.3 KiB
TOML
52 lines
1.3 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"]
|
|
games = []
|
|
services = []
|
|
game_defs = ["dep:phf", "games"]
|
|
serde = ["dep:serde", "serde/derive"]
|
|
|
|
[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"] }
|
|
|
|
# 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"]
|