stadelmanma / fitparse-rs

Rust library to parse FIT formatted files
MIT License
54 stars 10 forks source link

messages: Collect unknown fields in message type #39

Open robinkrahl opened 9 months ago

robinkrahl commented 9 months ago

In the initial implementation, we had a config option to determine whether unknown fields should return an error. Based on the discussion in [0], I think it is better to just collect unexpected fields in the message type and let the user decide how to handle them.

[0] https://github.com/stadelmanma/fitparse-rs/issues/13