66 Commits

Author SHA1 Message Date
53af241949
fix: offset f32 assert range ends by a tenth 2025-02-28 23:09:56 +01:00
a93b93cfb5
fix: remove player_car_index assert due to the possibility of player being a spectator 2025-02-28 23:08:20 +01:00
6c24f65cd0
Merge pull request #1 from maciejpedzich/release-plz-2025-02-28T14-51-53Z
chore: release v1.0.0
2025-02-28 15:53:20 +01:00
github-actions[bot]
c9296a53eb
chore: release v1.0.0 v1.0.0 2025-02-28 14:51:54 +00:00
8708fa71d9
ci: exclude files inside the .github and .idea directories 2025-02-28 15:48:03 +01:00
4dede00b1f
ci: add CI/CD GitHub workflows and issue templates 2025-02-28 15:34:31 +01:00
ddda64768e
chore: add homepage link to package manifest 2025-02-28 15:33:59 +01:00
3d2ae224dd
chore: add extra crate metadata and bump version to 1.0.0 2025-02-28 13:22:13 +01:00
c4df00e0b6
docs: add installation instructions, complex example and FAQs 2025-02-28 13:21:07 +01:00
2f7a3b442b
refactor: convert parse function's arg type to generic implementing AsRef<[u8]> 2025-02-28 13:20:35 +01:00
3f9640ec9c
docs: add num_tyre_stint doc links to tyre-related vectors 2025-02-28 13:19:56 +01:00
0f28d8b763
refactor: fix or allow certain pedantic warning from clippy 2025-02-28 10:48:24 +01:00
7a374cbde7
test: add integration tests for the parse function 2025-02-27 20:31:00 +01:00
da61459142
misc: remove the now redundant udp client bin 2025-02-27 20:19:41 +01:00
c7c166d10a
test: add missing 2023 stop-go and drive-through served event packet dumps 2025-02-27 20:19:02 +01:00
7065b12ffb
test: add 2024 spec packet dumps 2025-02-27 17:51: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
09b74e4f2a
docs: increase the buffer size in example UDP client 2025-02-27 17:46:24 +01:00
74cc13891f
test: add missing 2022 spec lobby packet dump 2025-02-27 11:14:13 +01:00
e4b8dbbceb
test: add 2023 spec packet dumps 2025-02-27 11:08:41 +01:00
a160254b3a
feat: add missing 2023 spec red flag event 2025-02-27 10:56:40 +01:00
7b52f504ac
test: create tests directory and 2022 spec packet dumps 2025-02-26 22:01:13 +01:00
823a370229
misc: repurpose udpclient to create raw packet dump files 2025-02-26 21:59:35 +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
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