Codebase list rust-stfu8 / 7345819
syn: update to 1.0.54 and refresh patches Henry-Nicolas Tourneur 3 years ago
5 changed file(s) with 46 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
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
11
22 * 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
44 * d/patches/remove_test_feature: this patch prevents a debcargo crash.
55 It removes a test feature which introduces a normal dependency which is
66 also a dev-dep of the syn crate.
88 * d/patches/relax-deps: lower proc-macro2 required version (1.0.23 ->
99 1.0.18)
1010
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
1212
1313 rust-syn (1.0.12-1) unstable; urgency=medium
1414
44 required-features = ["full", "parsing"]
55 [dependencies.proc-macro2]
66 -version = "1.0.23"
7 +version = "1.0.18"
7 +version = "1.0"
88 default-features = false
99
1010 [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"
00 Author: Henry-Nicolas Tourneur <debian@nilux.be>
11 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.
55 This patch works around this crash by disabling that test feature.
66 Therefore, syn-test-suite is only a dev-dep and no longer both a normal dep
77 and a test dep.
99 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
1010 --- a/Cargo.toml
1111 +++ 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 = []
1331 parsing = []
1432 printing = ["quote"]
1533 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
0 remove_test_feature.patch
01 relax-deps.patch
1 remove_test_feature.patch