Update to version 0.7.45; Fixes RHBZ#2306089

epel10
Fabio Valentini 5 months ago
parent a32429ec09
commit ff829fa40c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -21,3 +21,4 @@
/rkyv-0.7.42.crate
/rkyv-0.7.43.crate
/rkyv-0.7.44.crate
/rkyv-0.7.45.crate

@ -0,0 +1,81 @@
--- rkyv-0.7.45/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rkyv-0.7.45/Cargo.toml 2024-08-30T19:01:30.121523+00:00
@@ -47,29 +47,14 @@
optional = true
default-features = false
-[dependencies.bitvec]
-version = "1.0"
-optional = true
-default-features = false
-
[dependencies.bytecheck]
version = "0.6.11"
optional = true
default-features = false
-[dependencies.bytes]
-version = "1.4.0"
+[dependencies.hashbrown]
+version = "0.14"
optional = true
-default-features = false
-
-[dependencies.hashbrown]
-version = "0.12"
-optional = true
-
-[dependencies.indexmap]
-version = "1.7"
-optional = true
-default-features = false
[dependencies.ptr_meta]
version = "~0.1.3"
@@ -86,31 +71,9 @@
[dependencies.seahash]
version = "4.0"
-[dependencies.smallvec]
-version = "1.7"
-optional = true
-default-features = false
-
-[dependencies.smol_str]
-version = "0.2"
-optional = true
-default-features = false
-
-[dependencies.tinyvec]
-version = "1.5"
-optional = true
-default-features = false
-
-[dependencies.uuid]
-version = "1.3"
-optional = true
-default-features = false
-
[features]
alloc = [
"hashbrown",
- "bitvec?/alloc",
- "tinyvec?/alloc",
]
arbitrary_enum_discriminant = ["rkyv_derive/arbitrary_enum_discriminant"]
archive_be = [
@@ -135,14 +98,8 @@
"bytecheck?/std",
"ptr_meta/std",
"rend?/std",
- "uuid?/std",
- "bytes?/std",
]
strict = ["rkyv_derive/strict"]
-uuid = [
- "dep:uuid",
- "bytecheck?/uuid",
-]
validation = [
"alloc",
"bytecheck",

@ -5,13 +5,17 @@
%global crate rkyv
Name: rust-rkyv
Version: 0.7.44
Version: 0.7.45
Release: %autorelease
Summary: Zero-copy deserialization framework for Rust
License: MIT
URL: https://crates.io/crates/rkyv
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump hashbrown dependency from 0.12 to 0.14
# * drop unused support for various third-party crates
Patch: rkyv-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -107,18 +111,6 @@ use the "arrayvec" feature of the "%{crate}" crate.
%files -n %{name}+arrayvec-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bitvec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bitvec-devel %{_description}
This package contains library source intended for building other packages which
use the "bitvec" feature of the "%{crate}" crate.
%files -n %{name}+bitvec-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytecheck-devel
Summary: %{summary}
BuildArch: noarch
@ -131,18 +123,6 @@ use the "bytecheck" feature of the "%{crate}" crate.
%files -n %{name}+bytecheck-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bytes-devel %{_description}
This package contains library source intended for building other packages which
use the "bytes" feature of the "%{crate}" crate.
%files -n %{name}+bytes-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+copy-devel
Summary: %{summary}
BuildArch: noarch
@ -179,18 +159,6 @@ use the "hashbrown" feature of the "%{crate}" crate.
%files -n %{name}+hashbrown-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+indexmap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+indexmap-devel %{_description}
This package contains library source intended for building other packages which
use the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rend-devel
Summary: %{summary}
BuildArch: noarch
@ -239,30 +207,6 @@ use the "size_64" feature of the "%{crate}" crate.
%files -n %{name}+size_64-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+smallvec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+smallvec-devel %{_description}
This package contains library source intended for building other packages which
use the "smallvec" feature of the "%{crate}" crate.
%files -n %{name}+smallvec-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+smol_str-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+smol_str-devel %{_description}
This package contains library source intended for building other packages which
use the "smol_str" feature of the "%{crate}" crate.
%files -n %{name}+smol_str-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
@ -287,30 +231,6 @@ use the "strict" feature of the "%{crate}" crate.
%files -n %{name}+strict-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tinyvec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tinyvec-devel %{_description}
This package contains library source intended for building other packages which
use the "tinyvec" feature of the "%{crate}" crate.
%files -n %{name}+tinyvec-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uuid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uuid-devel %{_description}
This package contains library source intended for building other packages which
use the "uuid" feature of the "%{crate}" crate.
%files -n %{name}+uuid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+validation-devel
Summary: %{summary}
BuildArch: noarch

@ -0,0 +1,6 @@
[package]
cargo-toml-patch-comments = [
"bump hashbrown dependency from 0.12 to 0.14",
"drop unused support for various third-party crates",
]

@ -1 +1 @@
SHA512 (rkyv-0.7.44.crate) = 8401efd3bd442862b6c4c62f22289191ca9cddab8d67dd6361c9f5722e4265c1a3941be20108822480fae8d567e7b2b0ce1d66200fbc5931d775225e9d6735b6
SHA512 (rkyv-0.7.45.crate) = bac10c6e7e7f797e505cc8103c55ae2fd4b04a76631e085fcf1c8f2b05e52c064cb14145479dadc292995b7ca5bbab5235d54d8e651bf47623a0228f936f73c9

Loading…
Cancel
Save