File: 1001_num-traits.patch

package info (click to toggle)
rust-criterion-0.3 0.3.6-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,396 kB
  • sloc: perl: 258; python: 170; sh: 53; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix enable num-traits feature "std"
 Needed for stats::float::Float.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-06-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@
 walkdir        = "2.3"
 tinytemplate   = "1.1"
 cast           = "0.3"
-num-traits     = { version = "0.2", default-features = false }
+num-traits     = { version = "0.2", default-features = false, features = ["std"] }
 oorandom       = "11.1"
 rayon          = "1.3"
 regex          = { version = "1.3", default-features = false, features = ["std"] }