syn: update to 1.0.54 and refresh patches
Henry-Nicolas Tourneur
3 years ago
0 | autopkg fails: | |
1 | - missing dev-dep insta (does not build) | |
2 | - missing dev-dep reqwest 0.10+blocking | |
3 | -> reqwest 0.10 introduces many new deps, including futures-util not yet in Debian | |
4 | -> we need to have syn updated first before futures-util could become available | |
5 | - missing dev-dep ref-cast and ref-cast-impl | |
0 | no pre-install test executed because of dev-deps's presence | |
1 | post-install (autopkg tests) can be made to work with following build order: | |
2 | - syn | |
3 | - console (UPDATE) ; ron (UPDATE) ; globwalk (NEW) -> insta (NEW) | |
4 | - reqwest dev-dep relaxed (0.10 -> 0.9) | |
5 | - ref-cast-impl (NEW) -> ref-cast (NEW) | |
6 | - rebuild syn and autopkgtest will run | |
7 | ||
8 | Autopkgtest currently fails, so does cargo test. Advise to get that fixed before uploading. |
0 | rust-syn (1.0.53-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
0 | rust-syn (1.0.54-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | 1 | |
2 | 2 | * Team upload. |
3 | * Package syn 1.0.53 from crates.io using debcargo 2.4.3 | |
3 | * Package syn 1.0.54 from crates.io using debcargo 2.4.3 | |
4 | 4 | * d/patches/remove_test_feature: this patch prevents a debcargo crash. |
5 | 5 | It removes a test feature which introduces a normal dependency which is |
6 | 6 | also a dev-dep of the syn crate. |
8 | 8 | * d/patches/relax-deps: lower proc-macro2 required version (1.0.23 -> |
9 | 9 | 1.0.18) |
10 | 10 | |
11 | -- Henry-Nicolas Tourneur <debian@nilux.be> Mon, 30 Nov 2020 17:02:07 +0000 | |
11 | -- Henry-Nicolas Tourneur <debian@nilux.be> Wed, 16 Dec 2020 17:23:28 +0000 | |
12 | 12 | |
13 | 13 | rust-syn (1.0.12-1) unstable; urgency=medium |
14 | 14 |
4 | 4 | required-features = ["full", "parsing"] |
5 | 5 | [dependencies.proc-macro2] |
6 | 6 | -version = "1.0.23" |
7 | +version = "1.0.18" | |
7 | +version = "1.0" | |
8 | 8 | default-features = false |
9 | 9 | |
10 | 10 | [dependencies.quote] |
11 | @@ -68,8 +68,7 @@ version = "1.0" | |
12 | version = "1.0" | |
13 | ||
14 | [dev-dependencies.reqwest] | |
15 | -version = "0.10" | |
16 | -features = ["blocking"] | |
17 | +version = "0.9" | |
18 | ||
19 | [dev-dependencies.tar] | |
20 | version = "0.4" |
0 | 0 | Author: Henry-Nicolas Tourneur <debian@nilux.be> |
1 | 1 | Forwarded: not-needed |
2 | Description: The below patch removes the test feature. That feature depends | |
3 | on syn-test-suite which is also a dev-dep. Having a crate being both a | |
4 | dev-dep and a normal dep is uncommon and causes debcargo crashes. | |
2 | Description: The below patch removes the test feature and its dev-dep. | |
3 | That feature depends on syn-test-suite which is also a dev-dep. | |
4 | Having a crate being both a dev-dep and a normal dep causes debcargo crashes. | |
5 | 5 | This patch works around this crash by disabling that test feature. |
6 | 6 | Therefore, syn-test-suite is only a dev-dep and no longer both a normal dep |
7 | 7 | and a test dep. |
9 | 9 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
10 | 10 | --- a/Cargo.toml |
11 | 11 | +++ b/Cargo.toml |
12 | @@ -93,6 +93,5 @@ full = [] | |
12 | @@ -71,9 +71,6 @@ version = "1.0" | |
13 | version = "0.10" | |
14 | features = ["blocking"] | |
15 | ||
16 | -[dev-dependencies.syn-test-suite] | |
17 | -version = "0" | |
18 | - | |
19 | [dev-dependencies.tar] | |
20 | version = "0.4" | |
21 | ||
22 | @@ -83,6 +80,7 @@ version = "1.0" | |
23 | [dev-dependencies.walkdir] | |
24 | version = "2.1" | |
25 | ||
26 | + | |
27 | [features] | |
28 | clone-impls = [] | |
29 | default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"] | |
30 | @@ -93,6 +91,5 @@ full = [] | |
13 | 31 | parsing = [] |
14 | 32 | printing = ["quote"] |
15 | 33 | proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"] |