Crate dcan_db

Crate dcan_db 

Source
Expand description

§dcan-db

crates.io docs license crates.io

A simple CAN .dbc parser

dcan-db is a lightweight Rust parser leveraging Chumsky for performant file parsing.

§Usage

use dcan_db::prelude::*;

fn main() {
    let result = parse_dbc("./dbcs/simple.dbc");

    let dbc = result.unwrap();
    println!("{:#?}", dbc);
}

Modules§

errors
Project specific errors
parser
Parsing functionality
prelude
A collection of common requirements