mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
* WIP: Add unreal2 protocol * Add/Update badge * protocols/unreal2: Update doc comments and TODOs * protocols/unreal2: Don't pre-allocate as many bot players * protocols/unreal2: Use "encoding-rs" for decoding unreal2 strings * Add/Update badge * protocols/unreal2: Add constants for player pre-allocation. Also improve some doc comments and update PACKET_SIZE. * protocols/unreal2: Early break when enough players have been parsed Add a fast-path to avoid waiting for packet timeout when we have parsed as many players as specified in the server info packet. * protocols/unreal2: Use HashSet to store mutators * protocols/unreal2: Handle server sending multiple values for a rule * protocols/unreal2: Add GatheringSettings to control what to query GatheringSettings allows skipping querying rules and/or players which can make the query return much faster. This also required moving each individual query into its own helper. * protocols/unreal2: Add more derives to types * protocols/unreal2: Simplify ServerInfo::parse() Co-Authored-By: CosminPerRam <cosmin.p@live.com> * Docs: Add unreal2 protocol documentation I used a website to generate the markdown RESPONSES table, the save file from this website is included to make updating the table easier in the future. https://www.tablesgenerator.com/markdown_tables * Add/Update badge * protocols/unreal2: Use the correct encoding for UCS2 strings * Docs: Remove unnecessary TGN file --------- Co-authored-by: GitHub Action <action@github.com> Co-authored-by: CosminPerRam <cosmin.p@live.com>
35 lines
1 KiB
TOML
35 lines
1 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"] }
|