--- /dev/null
+rust-rkyv-derive (0.7.39-2) unstable; urgency=medium
+
+ * Team upload.
+ * Package rkyv_derive 0.7.39 from crates.io using debcargo 2.5.0
+
+ -- Peter Michael Green <plugwash@debian.org> Sun, 06 Nov 2022 11:38:19 +0000
+
+rust-rkyv-derive (0.7.39-1) unstable; urgency=medium
+
+ * Package rkyv_derive 0.7.39 from crates.io using debcargo 2.5.0
+
+ -- Reinhard Tartler <siretart@tauware.de> Sat, 09 Jul 2022 06:58:44 -0400
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rkyv_derive
+Upstream-Contact: David Koloski <djkoloski@gmail.com>
+Source: https://github.com/rkyv/rkyv
+
+Files: *
+Copyright: 2020-2022 David Koloski <djkoloski@gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Reinhard Tartler <siretart@tauware.de>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rkyv_derive
+Upstream-Contact: David Koloski <djkoloski@gmail.com>
+Source: https://github.com/rkyv/rkyv
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS David Koloski <djkoloski@gmail.com>
+License: MIT
+Comment:
+ FIXME (overlay): Since upstream copyright years are not available in
+ Cargo.toml, they were extracted from the upstream Git repository. This may not
+ be correct information so you should review and fix this before uploading to
+ the archive.
+
+Files: ./LICENSE
+Copyright: 2021 David Koloski
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: debian/*
+Copyright:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Reinhard Tartler <siretart@tauware.de>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
--- /dev/null
+overlay = "."
+uploaders = ["Reinhard Tartler <siretart@tauware.de>"]
--- /dev/null
+Description: fix build on 32-bit.
+Author: Peter Michael Green <plugwash@debian.org>
+
+--- rust-rkyv-derive-0.7.39.orig/src/archive.rs
++++ rust-rkyv-derive-0.7.39/src/archive.rs
+@@ -778,7 +778,7 @@ fn derive_archive_impl(
+ // If unspecified, the base repr is set to u* with the smallest unsigned integer
+ // that can represent the number of variants
+ None => {
+- let int_repr = match data.variants.len() {
++ let int_repr = match data.variants.len() as u128 {
+ 0..=255 => IntRepr::U8,
+ 256..=65_535 => IntRepr::U16,
+ 65_536..=4_294_967_295 => IntRepr::U32,
--- /dev/null
+fix-build-32-bit.patch