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 <sputnik@on-the-web.ch>
This commit is contained in:
Martin Herren committed 2026-09-02 22:11:59 +02:00
1 parent 3315f00a89
commit 09910e2019
1 file changed
+1 -1
+1 -1
View File
@@ -18,10 +18,10 @@ byteorder = "1.3.4"
dasp_sample = "0.11.0" dasp_sample = "0.11.0"
encoding = "0.2.33" encoding = "0.2.33"
uuid = "0.8.1" uuid = "0.8.1"
clap = "2.33.3"
[dev-dependencies] [dev-dependencies]
serde_json = "1.0.61" serde_json = "1.0.61"
clap = "2.33.3"
[profile.release] [profile.release]
debug = true debug = true