Crates.io | gsd-parser |
lib.rs | gsd-parser |
version | 0.3.0 |
source | src |
created_at | 2023-12-28 15:46:37.171331 |
updated_at | 2024-10-31 20:46:43.653336 |
description | Parser for PROFIBUS GSD files (Generic Station Description) |
homepage | https://github.com/rahix/profirust/tree/main/gsd-parser |
repository | https://github.com/rahix/profirust |
max_upload_size | |
id | 1082486 |
size | 45,857 |
gsd-parser
A parser for PROFIBUS GSD (Generic Station Description) files.
gsd-parser
comes with a testsuite to catch parsing regressions. The
testsuite uses insta.rs. To use it, populate
tests/data/
with all .gsd
files you have. Then run cargo insta test
to
generate first snapshots. You'll need to accept each snapshot using cargo insta review
. From then on, you can just run cargo test
as usual.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.