diff --git a/src/synstructure/debian/changelog b/src/synstructure/debian/changelog index ac27c0c..4730520 100644 --- a/src/synstructure/debian/changelog +++ b/src/synstructure/debian/changelog @@ -1,3 +1,10 @@ +rust-synstructure (0.11.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Team upload. + * Package synstructure 0.11.0 from crates.io using debcargo 2.2.10 + + -- Nicolas Braud-Santoni Wed, 14 Aug 2019 19:15:10 +0200 + rust-synstructure (0.10.1-1) unstable; urgency=medium * Team upload. diff --git a/src/synstructure/debian/copyright b/src/synstructure/debian/copyright index 46b173b..2dbbb91 100644 --- a/src/synstructure/debian/copyright +++ b/src/synstructure/debian/copyright @@ -9,8 +9,8 @@ Files: debian/* Copyright: - 2018 Debian Rust Maintainers - 2018 Ximin Luo + 2018-2019 Debian Rust Maintainers + 2018-2019 Ximin Luo License: MIT License: MIT diff --git a/src/synstructure/debian/copyright.debcargo.hint b/src/synstructure/debian/copyright.debcargo.hint index 7d2e77e..c553611 100644 --- a/src/synstructure/debian/copyright.debcargo.hint +++ b/src/synstructure/debian/copyright.debcargo.hint @@ -21,8 +21,8 @@ Files: debian/* Copyright: - 2018 Debian Rust Maintainers - 2018 Ximin Luo + 2018-2019 Debian Rust Maintainers + 2018-2019 Ximin Luo License: MIT License: MIT diff --git a/src/synstructure/debian/patches/relax-dependencies.patch b/src/synstructure/debian/patches/relax-dependencies.patch new file mode 100644 index 0000000..7573a6a --- /dev/null +++ b/src/synstructure/debian/patches/relax-dependencies.patch @@ -0,0 +1,35 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -22,17 +22,17 @@ + license = "MIT" + repository = "https://github.com/mystor/synstructure" + [dependencies.proc-macro2] +-version = "0.4" ++version = "1" + + [dependencies.quote] +-version = "0.6" ++version = "1" + + [dependencies.syn] +-version = "0.15" ++version = "1" + features = ["visit", "extra-traits"] + + [dependencies.unicode-xid] +-version = "0.1" ++version = "0.2" + [dev-dependencies.synstructure_test_traits] + version = "0.1" + +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -2059,7 +2059,7 @@ + let mut extern_crate = quote!(); + if bound.path.leading_colon.is_none() { + if let Some(ref seg) = bound.path.segments.first() { +- let seg = seg.value(); ++ let seg = *seg; + extern_crate = quote! { extern crate #seg; }; + } + } diff --git a/src/synstructure/debian/patches/series b/src/synstructure/debian/patches/series new file mode 100644 index 0000000..d0fb010 --- /dev/null +++ b/src/synstructure/debian/patches/series @@ -0,0 +1 @@ +relax-dependencies.patch