34 Commits

Author SHA1 Message Date
0f28d8b763
refactor: fix or allow certain pedantic warning from clippy 2025-02-28 10:48:24 +01:00
3625265317
refactor: add binrw asserts for all index fields in event packets 2025-02-27 17:50:37 +01:00
359360cded
fix: add missing engine braking percentage field from 2024 spec 2025-02-27 17:47:21 +01:00
a160254b3a
feat: add missing 2023 spec red flag event 2025-02-27 10:56:40 +01:00
70dccb8c0b
fix: replace incorrect constant for lap history entry's raw size with inline function 2025-02-26 21:56:52 +01:00
9b165c456d
fix: remove incorrect assert for PENA event's other_vehicle_index value range 2025-02-26 21:54:59 +01:00
72a4a21115
docs: add frontpage doc comments and tweak various existing ones 2025-02-26 19:38:17 +01:00
1bdf45a1ee
refactor: use from_bits_retain instead of truncate when reading bitmap fields 2025-02-23 18:22:37 +01:00
5877627296
docs: add links to driver and team ID constants submodules in various struct fields 2025-02-22 00:58:17 +01:00
ac9408f720
refactor: replace SessionType enum with session_type submodule of constants 2025-02-22 00:57:27 +01:00
e28e5f2795
docs: convert inline code block field names to proper field links 2025-02-22 00:36:01 +01:00
edaef5b865
feat: add 2024 spec parser fields and constants 2025-02-21 21:00:56 +01:00
9fe4ec289d
refactor: reorganise field asserts and use "num_" fields with pad_after for reading variable-sized collections 2025-02-21 18:22:47 +01:00
5d59668900
style: set rustfmt print width to 90 2025-02-20 13:07:55 +01:00
dd881a66c0
refactor: change u8_to_bool return type to Result with custom error 2025-02-20 13:02:14 +01:00
c4f08877aa
feat: add 2023 spec parser fields and constants 2025-02-20 10:22:06 +01:00
ef07718495
fix: add missing 2022 spec fields and constants 2025-02-19 14:12:46 +01:00
ac7130fae1
feat: add 2022 spec session history packet parser 2025-02-19 12:53:56 +01:00
d880590e8b
feat: add 2022 spec car damage packet parser 2025-02-19 12:41:49 +01:00
6c9dd17282
feat: add 2022 spec lobby packet parser 2025-02-19 11:44:30 +01:00
32471a952d
feat: add 2022 spec final classification packet parser 2025-02-19 11:22:54 +01:00
2ccfdae321
refactor: use from_bits_truncate directly when reading bitmaps 2025-02-19 10:46:17 +01:00
839e1ab30b
feat: add 2022 spec car status packet parser 2025-02-18 21:34:16 +01:00
8ea06e5a53
feat: add 2022 spec car telemetry packet parser 2025-02-18 13:01:08 +01:00
06b8bfe133
feat: add 2022 spec car setups packet parser 2025-02-18 12:02:38 +01:00
e92aed3159
feat: add 2022 spec participants packet parser 2025-02-18 11:17:11 +01:00
70c51b5276
fix: add missing fields in session and event packets 2025-02-17 21:41:05 +01:00
e4728bcf45
feat: add 2022 spec event event packet parser 2025-02-17 21:19:29 +01:00
fb83776da5
refactor: add missing non_exhaustive marker to LapData struct 2025-02-17 20:53:49 +01:00
1fd708d821
feat: add 2022 spec lap data packet parser 2025-02-17 19:04:53 +01:00
79d92c5774
refactor: add binrw assertions for session-related structs 2025-02-17 19:04:15 +01:00
e39c36de9b
refactor: add packet_format binrw import to CarMotionData struct 2025-02-17 19:03:48 +01:00
dee766fb12
feat: add 2022 spec session packet parser 2025-02-17 14:51:12 +01:00
4b304fbd4e
feat: add 2022 spec motion packet parser 2025-02-17 13:21:30 +01:00