4 releases (2 breaking)
0.3.0 | Oct 31, 2024 |
---|---|
0.2.0 | May 9, 2024 |
0.1.1 | Dec 28, 2023 |
0.1.0 | Dec 28, 2023 |
#260 in Robotics
127 downloads per month
Used in gsdtool
43KB
903 lines
gsd-parser
A parser for PROFIBUS GSD (Generic Station Description) files.
Testsuite
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.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
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.
Dependencies
~2.1–2.9MB
~58K SLoC