Package list rust-stfu8 / debian/latest
zvariant-derive: drop patches no longer needed Henry-Nicolas Tourneur 2 days ago
3 changed file(s) with 0 addition(s) and 39 deletion(s). Raw diff Collapse all Expand all
+0
-26
src/zvariant-derive/debian/patches/downgrade-proc-macro-crate.patch less more
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -26,7 +26,7 @@ resolver = "2"
3 [lib]
4 proc-macro = true
5 [dependencies.proc-macro-crate]
6 -version = "1.0.0"
7 +version = "0.1.4"
8
9 [dependencies.proc-macro2]
10 version = "1.0"
11 --- a/src/utils.rs
12 +++ b/src/utils.rs
13 @@ -1,10 +1,10 @@
14 use proc_macro2::TokenStream;
15 -use proc_macro_crate::{crate_name, FoundCrate};
16 +use proc_macro_crate::crate_name;
17 use quote::{format_ident, quote};
18 use syn::{Attribute, Lit, Meta, Meta::List, MetaList, NestedMeta, Result};
19
20 pub fn zvariant_path() -> TokenStream {
21 - if let Ok(FoundCrate::Name(name)) = crate_name("zvariant") {
22 + if let Ok(name) = crate_name("zvariant") {
23 let ident = format_ident!("{}", name);
24 quote! { ::#ident }
25 } else {
+0
-11
src/zvariant-derive/debian/patches/downgrade-syn.patch less more
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -34,7 +34,7 @@ version = "1.0"
3 version = "1.0.3"
4
5 [dependencies.syn]
6 -version = "1.0.38"
7 +version = "1.0.12"
8 features = ["extra-traits", "full"]
9 [dev-dependencies.byteorder]
10 version = "1.3.1"
0 downgrade-proc-macro-crate.patch
1 downgrade-syn.patch
20 relax-cargo-version.patch