[package] name = "gamedig" version = "0.6.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://gamedig.github.io/" 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.71.1" categories = ["parser-implementations", "parsing", "network-programming", "encoding"] [features] default = ["games", "services", "game_defs"] # Enable query functions for specific games games = [] # Enable game definitions for use with the generic query functions game_defs = ["dep:phf", "games"] # Enable service querying services = [] # Enable serde derivations for our types serde = [] # Enable clap derivations for our types clap = ["dep:clap"] packet_capture = ["dep:pcap-file", "dep:pnet_packet", "dep:lazy_static"] # Enable TLS for HTTP Client tls = ["ureq/tls"] [dependencies] byteorder = "1.5" bzip2-rs = "0.1" crc32fast = "1.4" base64 = "0.22.0" encoding_rs = "0.8" ureq = { version = "2.9", default-features = false, features = ["gzip", "json"] } url = "2" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } phf = { version = "0.11", optional = true, features = ["macros"] } clap = { version = "4.5.4", optional = true, features = ["derive"] } pcap-file = { version = "2.0", optional = true } pnet_packet = { version = "0.35", optional = true } lazy_static = { version = "1.4", optional = true } [dev-dependencies] gamedig-id-tests = { path = "../id-tests", default-features = false } # Examples [[example]] name = "minecraft" required-features = ["games"] [[example]] name = "teamfortress2" required-features = ["games"] [[example]] name = "valve_master_server_query" required-features = ["services"] [[example]] name = "test_eco" required-features = ["games"] [[example]] name = "generic" required-features = ["games", "game_defs"]