Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false
Expand Down
55 changes: 47 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rust-version = "1.78.0"
std = []

[dependencies]
can-dbc = "6.0.0"
can-dbc = "7.0.0"
anyhow = "1.0.68"
heck = "0.4.0"
typed-builder = "0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion dbc-codegen-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct Cli {

fn main() {
let args = Cli::parse();
let dbc_file = std::fs::read(&args.dbc_path).unwrap_or_else(|e| {
let dbc_file = std::fs::read_to_string(&args.dbc_path).unwrap_or_else(|e| {
eprintln!("could not read `{}`: {}", args.dbc_path.display(), e);
exit(exitcode::NOINPUT);
});
Expand Down
Loading