squidpickles / ais

An AIS parser written in Rust
Apache License 2.0
15 stars 9 forks source link

feat: add support for tag block, integrate UDP, TCP, file and single message parsing #24

Open salsabiljb opened 2 months ago

salsabiljb commented 2 months ago

I documented each change i did so ( cargo doc ) would be so helpful especially in the Tag Block part.

Previously, the library ignored these prefixes, but with the recent improvements, it now parses them effectively, preserving essential contextual metadata. The screenshot below demonstrates how the library is able to parse both types of messages with and without a tag block : tag_block_parsing_test_tcp

Screenshot from 2024-10-07 02-43-05

Screenshot from 2024-10-07 02-43-20

Screenshot from 2024-08-21 15-36-34

Screenshot from 2024-08-21 15-37-19