kerb 0.1.0

Real-time telemetry from racing simulators — iRacing, Assetto Corsa, AC Evo, Le Mans Ultimate
# 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 = "2024"
name = "kerb"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time telemetry from racing simulators — iRacing, Assetto Corsa, AC Evo, Le Mans Ultimate"
readme = "README.md"
keywords = [
    "iracing",
    "telemetry",
    "sim-racing",
    "assetto-corsa",
]
categories = ["game-development"]
license = "MIT"
repository = "https://github.com/mvoof/kerb"
resolver = "2"

[features]
ac-evo = ["dep:windows-sys"]
default = [
    "iracing",
    "ac-evo",
    "lmu",
]
iracing = [
    "dep:windows-sys",
    "dep:serde_yaml",
]
lmu = ["dep:windows-sys"]

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

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

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

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

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

[[bench]]
name = "telemetry_benches"
path = "benches/telemetry_benches.rs"
harness = false

[dependencies.encoding_rs]
version = "0.8"

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

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.windows-sys]
version = "0.61.2"
features = [
    "Win32_Foundation",
    "Win32_System_Memory",
    "Win32_System_Threading",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]