From 09910e2019797f34e86f2eb7a81528df29f48cc5 Mon Sep 17 00:00:00 2001 From: Martin Herren Date: Wed, 2 Sep 2026 22:11:27 +0200 Subject: [PATCH] cargo: move clap to dev-dependencies clap is only used in the examples, not in the library, so move it to dev-dependencies so not all user of bwavfile need to pull clap and its dependencies. Especially as the examples use clap v2 which in turn depend on unmaintained atty and ansi_term which have open reported vulnerabilities. Signed-off-by: Martin Herren --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2d0c857..6daa1f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ byteorder = "1.3.4" dasp_sample = "0.11.0" encoding = "0.2.33" uuid = "0.8.1" -clap = "2.33.3" [dev-dependencies] serde_json = "1.0.61" +clap = "2.33.3" [profile.release] debug = true