File: disable-bench.patch

package info (click to toggle)
rust-handlebars 5.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 812 kB
  • sloc: sh: 3; makefile: 2
file content (43 lines) | stat: -rw-r--r-- 801 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
We don't need to run benches in Debian.

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,6 +30,7 @@
 ]
 license = "MIT"
 repository = "https://github.com/sunng87/handlebars-rust"
+autobenches = false
 
 [package.metadata.docs.rs]
 features = [
@@ -54,9 +55,9 @@
 name = "script"
 required-features = ["script_helper"]
 
-[[bench]]
-name = "bench"
-harness = false
+#[[bench]]
+#name = "bench"
+#harness = false
 
 [dependencies.heck]
 version = "0.5"
@@ -127,12 +128,12 @@
 script_helper = ["rhai"]
 string_helpers = ["heck"]
 
-[target."cfg(unix)".dev-dependencies.pprof]
-version = "0.13"
-features = [
+#[target."cfg(unix)".dev-dependencies.pprof]
+#version = "0.13"
+#features = [
 #    "flamegraph",
-    "prost-codec",
-]
+#    "prost-codec",
+#]
 
 [badges.maintenance]
 status = "actively-developed"