From a8ee52a11e87b4d8c14b90d726c14a767ecae87b Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Sun, 15 Oct 2023 22:05:52 +0200 Subject: [PATCH] Bump dependencies --- Cargo.toml | 4 ++-- examples/parse_vcd.rs | 1 - examples/vcd.rs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6b0390b..0b4dd2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ debug = 1 [dependencies] num = "0.4" -clap = { version = "3.1.8", features = ["derive"] } +clap = { version = "4.4.6", features = ["derive"] } chrono = "0.4" # TODO : remove itertools once date parser is reworked. -itertools = "0.10.3" +itertools = "0.11" diff --git a/examples/parse_vcd.rs b/examples/parse_vcd.rs index 66b6146..b1478c3 100644 --- a/examples/parse_vcd.rs +++ b/examples/parse_vcd.rs @@ -10,7 +10,6 @@ use fastwave_backend::parse_vcd; #[derive(Parser)] struct Cli { /// The path to the file to read - #[clap(parse(from_os_str))] path: std::path::PathBuf, } diff --git a/examples/vcd.rs b/examples/vcd.rs index 968bf09..eb6b660 100644 --- a/examples/vcd.rs +++ b/examples/vcd.rs @@ -27,7 +27,7 @@ fn visit_all_scopes(vcd: &VCD) { let SignalIdx(idx) = signal_idx; indented_print(indent + 1, &format!("{},{}", signal.name(), idx)); } - visit_all_scope_children(child_scope_idx, vcd.clone(), indent + 1); + visit_all_scope_children(child_scope_idx, vcd, indent + 1); } } }