Codebase list rust-serde-xml-rs / 0347f64
Update synstructure to reflect upstream patch Ximin Luo 4 years ago
3 changed file(s) with 1 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
2828 if bound.path.leading_colon.is_none() {
2929 if let Some(ref seg) = bound.path.segments.first() {
3030 - let seg = seg.value();
31 + let seg = *seg;
31 + let seg = &seg.ident;
3232 extern_crate = quote! { extern crate #seg; };
3333 }
3434 }
0 update-syn.patch
10 relax-dependencies.patch
+0
-30
src/synstructure/debian/patches/update-syn.patch less more
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -22,13 +22,13 @@
3 license = "MIT"
4 repository = "https://github.com/mystor/synstructure"
5 [dependencies.proc-macro2]
6 -version = "0.4"
7 +version = "1"
8
9 [dependencies.quote]
10 -version = "0.6"
11 +version = "1"
12
13 [dependencies.syn]
14 -version = "0.15"
15 +version = "1"
16 features = ["visit", "extra-traits"]
17
18 [dependencies.unicode-xid]
19 --- a/src/lib.rs
20 +++ b/src/lib.rs
21 @@ -2059,7 +2059,7 @@
22 let mut extern_crate = quote!();
23 if bound.path.leading_colon.is_none() {
24 if let Some(ref seg) = bound.path.segments.first() {
25 - let seg = seg.value();
26 + let seg = &seg.ident;
27 extern_crate = quote! { extern crate #seg; };
28 }
29 }