File: fix-bench.diff

package info (click to toggle)
rust-console 0.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 284 kB
  • sloc: makefile: 29
file content (16 lines) | stat: -rw-r--r-- 404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: console/Cargo.toml
===================================================================
--- console.orig/Cargo.toml
+++ console/Cargo.toml
@@ -81,3 +81,11 @@ features = [
 [target."cfg(windows)".dependencies.winapi-util]
 version = "0.1.3"
 optional = true
+
+[dev-dependencies.criterion]
+version = "0.3.5"
+
+[[bench]]
+name = "ansi_parser"
+harness = false
+required-features = ["ansi-parsing"]