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 f011e89665
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]] [[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",

View File

@ -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"] }

View File

@ -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,

View File

@ -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