[package]
edition = "2024"
rust-version = "1.85"
name = "rlstatsapi"
version = "0.1.4"
authors = ["nickm"]
build = false
exclude = [
".env",
".env.*",
".venv/**",
".mypy_cache/**",
"target/**",
"fuzz/**",
"examples/**",
"json/**",
"pyproject.toml",
"uv.lock",
"test.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rocket League Stats API TCP client, parser, and optional Python bindings"
homepage = "https://github.com/xentrick/rlstatsapi"
documentation = "https://docs.rs/rlstatsapi"
readme = "README.md"
keywords = [
"rocket-league",
"stats",
"events",
"tcp",
"pyo3",
]
categories = [
"api-bindings",
"network-programming",
"parser-implementations",
"game-development",
]
license = "MIT"
repository = "https://github.com/xentrick/rlstatsapi"
[package.metadata.wix]
upgrade-guid = "763F0B78-4210-4D6A-BEF2-2DEE0E74A47F"
path-guid = "5058A27A-E7FA-4C3A-9EAE-D2258314EC60"
license = false
eula = false
[features]
default = []
python = ["dep:pyo3"]
[lib]
name = "rlstatsapi"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "player_board"
path = "src/bin/player_board.rs"
[[bin]]
name = "raw_events"
path = "src/bin/raw_events.rs"
[[bin]]
name = "rl_events"
path = "src/bin/rl_events.rs"
[[bin]]
name = "sos_broadcast"
path = "src/bin/sos_broadcast.rs"
[[bin]]
name = "sos_relay"
path = "src/bin/sos_relay.rs"
[[bin]]
name = "tick_listener"
path = "src/bin/tick_listener.rs"
[[test]]
name = "config_policy"
path = "tests/config_policy.rs"
[[test]]
name = "event_filters"
path = "tests/event_filters.rs"
[[test]]
name = "events_parsing"
path = "tests/events_parsing.rs"
[[test]]
name = "sos_translation"
path = "tests/sos_translation.rs"
[[test]]
name = "tcp_reconnect"
path = "tests/tcp_reconnect.rs"
[[test]]
name = "tcp_stream"
path = "tests/tcp_stream.rs"
[[bench]]
name = "events_parsing"
path = "benches/events_parsing.rs"
harness = false
[dependencies.dotenvy]
version = "0.15"
[dependencies.futures-util]
version = "0.3"
[dependencies.pyo3]
version = "0.23"
features = [
"abi3-py311",
"extension-module",
]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.44"
features = [
"macros",
"rt-multi-thread",
"time",
"net",
"io-util",
"sync",
"signal",
]
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.url]
version = "2.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[profile.dist]
lto = "thin"
inherits = "release"