Expand description
§can-dbc-pest
A CAN-dbc format parser written with Rust’s Pest grammar library. CAN databases are used to exchange details about a CAN network, e.g. what messages are being send over the CAN bus and what data do they contain.
§Development
- This project is easier to develop with just, a modern alternative to
make. Install it withcargo install just. - To get a list of available commands, run
just. - To run tests, use
just test.
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://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.
Re-exports§
pub use encoding_rs as encodings;
Structs§
- DbcParser
- Error
- Parse-related error type.
- Pair
- A matching pair of
Tokens and everything between them. - Pairs
- An iterator over
Pairs. It is created bypest::stateandPair::into_inner.
Enums§
- Rule
- DBC (Database CAN) file parser grammar
Traits§
- Parser
- A trait with a single method that parses strings.