1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Description: avoid benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-04-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,6 +11,7 @@
keywords = ["usb", "lsusb", "system_profiler", "macos", "libusb"]
categories = ["command-line-utilities"]
exclude = [".github", "scripts"]
+autobenches = false
[dependencies]
clap = { version = "4.0.22", features = ["derive", "wrap_help"] } # CLI argument parsing
@@ -40,7 +41,6 @@
[dev-dependencies]
diff = "0.1"
assert-json-diff = "2.0.2"
-criterion = "0.5.1"
[target.'cfg(target_os="linux")'.dependencies]
glob = "0.3.3" # find block devices in USB syspath
@@ -63,14 +63,6 @@
name = "cyme"
path = "src/main.rs"
-[[bench]]
-name = "get"
-harness = false
-
-[[bench]]
-name = "profile"
-harness = false
-
[profile.release]
lto = true
strip = true
|