From 3915dc62d5cfa53b4005a9853b75c21f837133a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Tue, 4 Mar 2025 23:17:06 +0100 Subject: [PATCH 1/2] docs: fix various typos in doc comments --- src/constants/mod.rs | 4 ++-- src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/mod.rs b/src/constants/mod.rs index 3384540..30d2e2f 100644 --- a/src/constants/mod.rs +++ b/src/constants/mod.rs @@ -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, diff --git a/src/lib.rs b/src/lib.rs index d5e0d4d..5728113 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 From 12c4a3f68e12e5a1a3e5d845a2ec0eb952841cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Tue, 4 Mar 2025 23:19:43 +0100 Subject: [PATCH 2/2] chore: update bitflags and bump this crate's version to 1.0.2 --- Cargo.lock | 6 +++--- Cargo.toml | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d71ba96..e48a6f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 493f609..f28524c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }