File: disable-criterion.diff

package info (click to toggle)
rust-png 0.17.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: makefile: 2
file content (44 lines) | stat: -rw-r--r-- 760 bytes parent folder | download
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
40
41
42
43
44
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -60,23 +60,6 @@
 name = "show"
 path = "examples/show.rs"
 
-[[bench]]
-name = "decoder"
-path = "benches/decoder.rs"
-harness = false
-
-[[bench]]
-name = "expand_paletted"
-path = "benches/expand_paletted.rs"
-harness = false
-required-features = ["benchmarks"]
-
-[[bench]]
-name = "unfilter"
-path = "benches/unfilter.rs"
-harness = false
-required-features = ["benchmarks"]
-
 [dependencies.bitflags]
 version = "1.0"
 
@@ -103,9 +86,6 @@
 version = "3.0"
 features = ["derive"]
 
-[dev-dependencies.criterion]
-version = "0.4.0"
-
 [dev-dependencies.getopts]
 version = "0.2.14"
 
@@ -124,7 +104,6 @@
 version = "1.0.1"
 
 [features]
-benchmarks = []
 unstable = ["crc32fast/nightly"]
 
 [lints.rust.unexpected_cfgs]