Update patches for sleef-sys
Ximin Luo
4 years ago
3 | 3 |
version = "0.2"
|
4 | 4 |
default-features = false
|
5 | 5 |
[build-dependencies.bindgen]
|
6 | |
-version = "^0.38"
|
|
6 |
-version = "^0.46"
|
7 | 7 |
+version = ">= 0.46, < 0.48"
|
8 | 8 |
|
9 | |
[features]
|
10 | |
default = []
|
|
9 |
[build-dependencies.env_logger]
|
|
10 |
version = "0.6"
|
1 | 1 |
+++ b/Cargo.toml
|
2 | 2 |
@@ -37,9 +37,6 @@
|
3 | 3 |
[build-dependencies.bindgen]
|
4 | |
version = "^0.38"
|
|
4 |
version = "^0.46"
|
5 | 5 |
|
6 | 6 |
-[build-dependencies.cmake]
|
7 | 7 |
-version = "^0.1"
|
8 | 8 |
-
|
9 | |
[features]
|
10 | |
default = []
|
11 | |
dft = []
|
|
9 |
[build-dependencies.env_logger]
|
|
10 |
version = "0.6"
|
|
11 |
|
12 | 12 |
--- a/build.rs
|
13 | 13 |
+++ b/build.rs
|
14 | 14 |
@@ -1,5 +1,4 @@
|
15 | 15 |
//! Builds the sleef library from source.
|
16 | 16 |
-extern crate cmake;
|
17 | 17 |
extern crate bindgen;
|
|
18 |
extern crate env_logger;
|
18 | 19 |
|
19 | |
use std::{path::PathBuf, env};
|
20 | |
@@ -15,23 +14,7 @@
|
|
20 |
@@ -17,23 +16,7 @@
|
21 | 21 |
}
|
22 | 22 |
}
|
23 | 23 |
|
|
41 | 41 |
|
42 | 42 |
// The bindgen::Builder is the main entry point
|
43 | 43 |
// to bindgen, and lets you build up options for
|
44 | |
@@ -39,7 +22,7 @@
|
|
44 |
@@ -41,7 +24,7 @@
|
45 | 45 |
let mut bindings = bindgen::Builder::default()
|
46 | 46 |
// The input header we would like to generate
|
47 | 47 |
// bindings for.
|