41 Commits

Author SHA1 Message Date
9b165c456d
fix: remove incorrect assert for PENA event's other_vehicle_index value range 2025-02-26 21:54:59 +01:00
eef718c6c6
docs: bump example UDP client's buffer size to 1464 bytes 2025-02-26 21:54:01 +01:00
018b4cb05f
misc: add cargo-deny config file 2025-02-26 19:38:44 +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
f011e68702
feat: add F2 2024 driver and team IDs 2025-02-22 17:57:30 +01:00
75d0e6e78a
chore: add MIT license field to Cargo.toml 2025-02-22 13:56:04 +01:00
e5385b132e
Create LICENSE 2025-02-22 13:52:56 +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
46d81ac97e
feat: derive Hash trait for all constant enums 2025-02-22 00:37:08 +01:00
e28e5f2795
docs: convert inline code block field names to proper field links 2025-02-22 00:36:01 +01:00
57a1215249
feat: add 2024 driver and team IDs 2025-02-21 22:49:12 +01:00
dafbfe8d2f
chore: bump serde to 1.0.218 2025-02-21 22:48:38 +01:00
edaef5b865
feat: add 2024 spec parser fields and constants 2025-02-21 21:00:56 +01:00
d2ded9da51
misc: print UDP client listening message after successful socket bind 2025-02-21 18:23:46 +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
10dcca8aff
feat: create a basic UDP client that reports parsing errors 2025-02-19 14:12:14 +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
a5e08cd2bf
refactor: remove redundant bitflags crate 2025-02-17 19:02:28 +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
cdcf1c4961
Cargo project init 2025-02-17 13:19:03 +01:00