]> git.proxmox.com Git - cargo.git/blob - vendor/syn/debian/patches/remove_test_feature.patch
New upstream version 0.52.0
[cargo.git] / vendor / syn / debian / patches / remove_test_feature.patch
1 Author: Henry-Nicolas Tourneur <debian@nilux.be>
2 Forwarded: not-needed
3 Description: The below patch removes the test feature and its dev-dep.
4 That feature depends on syn-test-suite which is also a dev-dep.
5 Having a crate being both a dev-dep and a normal dep causes debcargo crashes.
6 This patch works around this crash by disabling that test feature.
7 Therefore, syn-test-suite is only a dev-dep and no longer both a normal dep
8 and a test dep.
9 ---
10 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
11 --- a/Cargo.toml
12 +++ b/Cargo.toml
13 @@ -70,9 +70,6 @@ version = "1.0"
14 [dev-dependencies.reqwest]
15 version = "0.9"
16
17 -[dev-dependencies.syn-test-suite]
18 -version = "0"
19 -
20 [dev-dependencies.tar]
21 version = "0.4.16"
22
23 @@ -92,6 +89,5 @@ full = []
24 parsing = []
25 printing = ["quote"]
26 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
27 -test = ["syn-test-suite/all-features"]
28 visit = []
29 visit-mut = []