Merge pull request #3 from maciejpedzich/dev

Version 1.0.2 release
This commit is contained in:
Maciej Pędzich 2025-03-04 23:23:07 +01:00 committed by GitHub
commit 5c8f1dbcce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 8 deletions

6
Cargo.lock generated
View File

@ -34,9 +34,9 @@ dependencies = [
[[package]]
name = "bitflags"
version = "2.8.0"
version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
[[package]]
name = "bytemuck"
@ -52,7 +52,7 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "f1-game-packet-parser"
version = "1.0.1"
version = "1.0.2"
dependencies = [
"binrw",
"bitflags",

View File

@ -1,7 +1,7 @@
[package]
name = "f1-game-packet-parser"
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"
rust-version = "1.78"
readme = "README.md"
@ -14,9 +14,10 @@ license = "MIT"
exclude = [
".github/*",
".idea/*",
"tests/*"
]
[dependencies]
binrw = "0.14.1"
bitflags = "2.8.0"
bitflags = "2.9.0"
serde = { version = "1.0.218", features = ["derive"] }

View File

@ -105,7 +105,7 @@ pub enum Weather {
Storm = 5,
}
/// Temperature change direction. Represents a [`u8`].
/// Temperature change direction. Represents an [`i8`].
#[non_exhaustive]
#[derive(
BinRead,
@ -1067,7 +1067,7 @@ pub enum ErsDeployMode {
Hotlap = 3,
}
/// Flag the driver is currently being shown. Represents a [`u8`].
/// Flag the driver is currently being shown. Represents an [`i8`].
#[non_exhaustive]
#[derive(
BinRead,

View File

@ -1,7 +1,7 @@
//! Convert binary data from F1 24, F1 23, and F1 22 UDP telemetry into organised structs.
//! ## 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
//! cargo add f1-game-packet-parser