From 7e8cf037ded6a120b4281585dbb1b3f50bd58b777e21088cbea0d7e4a17efff9 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 12 Jan 2021 13:20:42 +0000 Subject: [PATCH] Accepting request 862545 from home:MSirringhaus:branches:devel:languages:rust - Update to 0.16.0 * Remove artificial restriction on lifetime parameters on enums * Add an option for converting usize/isize into size_t/ptrdiff_t. * Allow controlling the cargo profile used for expansion. * Support wider range of expressions in enum discriminants * Support generation of Cython bindings * Fixed some issues with style=tag and recursive structs * Default C style to Both (as specified in docs) * Fix resolution of path dependencies from certain modules. * Support inlined definitions for tuple variants with a single field in C OBS-URL: https://build.opensuse.org/request/show/862545 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=27 --- cbindgen-0.15.0.tar.gz | 3 --- cbindgen-0.16.0.tar.gz | 3 +++ rust-cbindgen.changes | 14 ++++++++++++++ rust-cbindgen.spec | 4 ++-- vendor.tar.xz | 4 ++-- 5 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 cbindgen-0.15.0.tar.gz create mode 100644 cbindgen-0.16.0.tar.gz diff --git a/cbindgen-0.15.0.tar.gz b/cbindgen-0.15.0.tar.gz deleted file mode 100644 index 237c265..0000000 --- a/cbindgen-0.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e2756a292a3b1182b8f741d6bb9e5a8b8a8dc2eacfb187c7db649966452798d -size 190131 diff --git a/cbindgen-0.16.0.tar.gz b/cbindgen-0.16.0.tar.gz new file mode 100644 index 0000000..6924940 --- /dev/null +++ b/cbindgen-0.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7b545f27f19da06983d38e149b76c446a13b9df744d22b2a1b3adb79dabf0ab +size 188599 diff --git a/rust-cbindgen.changes b/rust-cbindgen.changes index 1deb59a..bb30169 100644 --- a/rust-cbindgen.changes +++ b/rust-cbindgen.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Jan 12 08:25:59 UTC 2021 - Martin Sirringhaus + +- Update to 0.16.0 + * Remove artificial restriction on lifetime parameters on enums + * Add an option for converting usize/isize into size_t/ptrdiff_t. + * Allow controlling the cargo profile used for expansion. + * Support wider range of expressions in enum discriminants + * Support generation of Cython bindings + * Fixed some issues with style=tag and recursive structs + * Default C style to Both (as specified in docs) + * Fix resolution of path dependencies from certain modules. + * Support inlined definitions for tuple variants with a single field in C + ------------------------------------------------------------------- Tue Oct 13 08:18:32 UTC 2020 - Martin Sirringhaus diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec index 682e2d0..1d8f897 100644 --- a/rust-cbindgen.spec +++ b/rust-cbindgen.spec @@ -1,7 +1,7 @@ # # spec file for package rust-cbindgen # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global crate_name cbindgen %global rustflags -Clink-arg=-Wl,-z,relro,-z,now Name: rust-%{crate_name} -Version: 0.15.0 +Version: 0.16.0 Release: 0 Summary: A tool for generating C bindings from Rust code License: MPL-2.0 diff --git a/vendor.tar.xz b/vendor.tar.xz index a4187ab..2b2f161 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:841395fe2579b5f937a879eec62a9d43df5bf244fe8f31cc0bb6bb5029928995 -size 5631688 +oid sha256:467f9145cb8b5b6f6993b2729d4cbacc7190f32c2b94bebf9c5350997746e180 +size 5731200