mirror of
https://github.com/maciejpedzich/f1-game-packet-parser.git
synced 2025-04-20 11:31:12 +02:00
commit
f011e89665
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -34,9 +34,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bitflags"
|
name = "bitflags"
|
||||||
version = "2.8.0"
|
version = "2.9.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
|
checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bytemuck"
|
name = "bytemuck"
|
||||||
@ -52,7 +52,7 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "f1-game-packet-parser"
|
name = "f1-game-packet-parser"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"binrw",
|
"binrw",
|
||||||
"bitflags",
|
"bitflags",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "f1-game-packet-parser"
|
name = "f1-game-packet-parser"
|
||||||
description = "Convert binary data from F1 24, F1 23, and F1 22 UDP telemetry into organised structs."
|
description = "Convert binary data from F1 24, F1 23, and F1 22 UDP telemetry into organised structs."
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.78"
|
rust-version = "1.78"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@ -14,9 +14,10 @@ license = "MIT"
|
|||||||
exclude = [
|
exclude = [
|
||||||
".github/*",
|
".github/*",
|
||||||
".idea/*",
|
".idea/*",
|
||||||
|
"tests/*"
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
binrw = "0.14.1"
|
binrw = "0.14.1"
|
||||||
bitflags = "2.8.0"
|
bitflags = "2.9.0"
|
||||||
serde = { version = "1.0.218", features = ["derive"] }
|
serde = { version = "1.0.218", features = ["derive"] }
|
||||||
|
@ -105,7 +105,7 @@ pub enum Weather {
|
|||||||
Storm = 5,
|
Storm = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Temperature change direction. Represents a [`u8`].
|
/// Temperature change direction. Represents an [`i8`].
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
#[derive(
|
#[derive(
|
||||||
BinRead,
|
BinRead,
|
||||||
@ -1067,7 +1067,7 @@ pub enum ErsDeployMode {
|
|||||||
Hotlap = 3,
|
Hotlap = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Flag the driver is currently being shown. Represents a [`u8`].
|
/// Flag the driver is currently being shown. Represents an [`i8`].
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
#[derive(
|
#[derive(
|
||||||
BinRead,
|
BinRead,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//! Convert binary data from F1 24, F1 23, and F1 22 UDP telemetry into organised structs.
|
//! Convert binary data from F1 24, F1 23, and F1 22 UDP telemetry into organised structs.
|
||||||
//! ## Getting started
|
//! ## Getting started
|
||||||
//!
|
//!
|
||||||
//! Add `f1_game_packet_parser` to your project by running the following command:
|
//! Add `f1-game-packet-parser` to your project by running the following command:
|
||||||
//!
|
//!
|
||||||
//! ```sh
|
//! ```sh
|
||||||
//! cargo add f1-game-packet-parser
|
//! cargo add f1-game-packet-parser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user