Codebase list rust-stfu8 / 4a35da2
nom-4: fix version_check dependency kpcyrd 4 years ago
5 changed file(s) with 67 addition(s) and 33 deletion(s). Raw diff Collapse all Expand all
0 rust-nom-4 (4.2.3-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Patch version_check dependency to 0.9
3
4 -- kpcyrd <git@rxv.cc> Tue, 8 Oct 2019 14:27:11 +0000
5
06 rust-nom-4 (4.2.3-2) unstable; urgency=medium
17
28 * Source-only re-upload for migration to testing
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -92,29 +92,6 @@
3 [[test]]
4 name = "test1"
5
6 -[[bench]]
7 -name = "arithmetic"
8 -harness = false
9 -
10 -[[bench]]
11 -name = "http"
12 -harness = false
13 -
14 -[[bench]]
15 -name = "ini"
16 -harness = false
17 -
18 -[[bench]]
19 -name = "ini_complete"
20 -harness = false
21 -
22 -[[bench]]
23 -name = "ini_str"
24 -harness = false
25 -
26 -[[bench]]
27 -name = "json"
28 -harness = false
29 [dependencies.lazy_static]
30 version = "^1.0"
31 optional = true
32 @@ -132,7 +109,7 @@
33 [dev-dependencies.jemallocator]
34 version = "^0.1"
35 [build-dependencies.version_check]
36 -version = "^0.1"
37 +version = "^0.9"
38
39 [features]
40 alloc = []
0 strip-benchmarks.patch
0 relax-deps.patch
1 version-check.patch
+0
-32
src/nom-4/debian/patches/strip-benchmarks.patch less more
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -92,29 +92,6 @@
3 [[test]]
4 name = "test1"
5
6 -[[bench]]
7 -name = "arithmetic"
8 -harness = false
9 -
10 -[[bench]]
11 -name = "http"
12 -harness = false
13 -
14 -[[bench]]
15 -name = "ini"
16 -harness = false
17 -
18 -[[bench]]
19 -name = "ini_complete"
20 -harness = false
21 -
22 -[[bench]]
23 -name = "ini_str"
24 -harness = false
25 -
26 -[[bench]]
27 -name = "json"
28 -harness = false
29 [dependencies.lazy_static]
30 version = "^1.0"
31 optional = true
0 --- a/build.rs
1 +++ b/build.rs
2 @@ -1,13 +1,7 @@
3 extern crate version_check;
4
5 fn main() {
6 - match version_check::is_min_version("1.26.0") {
7 - Some((true, _actual_version)) => {
8 - println!("cargo:rustc-cfg=stable_i128");
9 - }
10 - Some(_) => (),
11 - None => {
12 - eprintln!("couldn't query version info from rustc");
13 - }
14 + if version_check::is_min_version("1.26.0").unwrap_or(false) {
15 + println!("cargo:rustc-cfg=stable_i128");
16 }
17 }