cs2-gsi 0.1.1

Counter-Strike 2 Game State Integration listener — receive game state pushes, emit typed events
Documentation
# 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.86"
name = "cs2-gsi"
version = "0.1.1"
authors = ["ccc007ccc"]
build = false
exclude = ["fixtures/large_dump_*.json"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Counter-Strike 2 Game State Integration listener — receive game state pushes, emit typed events"
homepage = "https://github.com/ccc007ccc/cs2-gsi"
documentation = "https://docs.rs/cs2-gsi"
readme = "README.md"
keywords = [
    "cs2",
    "gsi",
    "counter-strike",
    "game-state",
    "esports",
]
categories = [
    "api-bindings",
    "games",
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ccc007ccc/cs2-gsi"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cfg-writer = []
default = [
    "cfg-writer",
    "steam-discover",
]
steam-discover = []

[lib]
name = "cs2_gsi"
path = "src/lib.rs"

[[example]]
name = "full_dump"
path = "examples/full_dump.rs"
required-features = [
    "cfg-writer",
    "steam-discover",
]

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
required-features = [
    "cfg-writer",
    "steam-discover",
]

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.bytes]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.5"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.41"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false

[dev-dependencies.tokio]
version = "1.41"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
    "Win32_System_Registry",
    "Win32_Foundation",
    "Win32_System_SystemInformation",
]