# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65.0" name = "gamedig" version = "0.5.2" authors = [ "rust-GameDig contributors [https://github.com/gamedig/rust-gamedig/contributors]", "node-GameDig contributors [https://github.com/gamedig/node-gamedig/contributors]", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Query game servers and not only." homepage = "https://gamedig.github.io/" documentation = "https://docs.rs/gamedig/latest/gamedig/" readme = "README.md" keywords = [ "server", "query", "game", "check", "status", ] categories = [ "parser-implementations", "parsing", "network-programming", "encoding", ] license = "MIT" repository = "https://github.com/gamedig/rust-gamedig" [lib] name = "gamedig" path = "src/lib.rs" [[example]] name = "generic" path = "examples/generic.rs" required-features = [ "games", "game_defs", ] [[example]] name = "minecraft" path = "examples/minecraft.rs" required-features = ["games"] [[example]] name = "teamfortress2" path = "examples/teamfortress2.rs" required-features = ["games"] [[example]] name = "test_eco" path = "examples/test_eco.rs" required-features = ["games"] [[example]] name = "valve_master_server_query" path = "examples/valve_master_server_query.rs" required-features = ["services"] [[example]] name = "valve_protocol_query" path = "examples/valve_protocol_query.rs" [[test]] name = "game_ids" path = "tests/game_ids.rs" [dependencies.base64] version = "0.22.0" [dependencies.byteorder] version = "1.5" [dependencies.bzip2-rs] version = "0.1" [dependencies.clap] version = "4.5.4" features = ["derive"] optional = true [dependencies.crc32fast] version = "1.4" [dependencies.encoding_rs] version = "0.8" [dependencies.lazy_static] version = "1.4" optional = true [dependencies.pcap-file] version = "2.0" optional = true [dependencies.phf] version = "0.11" features = ["macros"] optional = true [dependencies.pnet_packet] version = "0.35" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.ureq] version = "2.9" features = [ "gzip", "json", ] default-features = false [dependencies.url] version = "2" [dev-dependencies] [features] clap = ["dep:clap"] default = [ "games", "services", "game_defs", ] game_defs = [ "dep:phf", "games", ] games = [] packet_capture = [ "dep:pcap-file", "dep:pnet_packet", "dep:lazy_static", ] serde = [] services = [] tls = ["ureq/tls"]