Compare commits

...

4 Commits

2
.gitignore vendored

@ -24,3 +24,5 @@
/encoding_rs-0.8.31.crate /encoding_rs-0.8.31.crate
/encoding_rs-0.8.32.crate /encoding_rs-0.8.32.crate
/encoding_rs-0.8.33.crate /encoding_rs-0.8.33.crate
/encoding_rs-0.8.34.crate
/encoding_rs-0.8.35.crate

@ -1,34 +1,31 @@
--- encoding_rs-0.8.33/Cargo.toml 1970-01-01T00:00:01+00:00 --- encoding_rs-0.8.35/Cargo.toml 1970-01-01T00:00:01+00:00
+++ encoding_rs-0.8.33/Cargo.toml 2023-08-27T11:41:53.824286+00:00 +++ encoding_rs-0.8.35/Cargo.toml 2024-11-07T17:36:18.359884+00:00
@@ -32,16 +32,16 @@ @@ -38,6 +38,12 @@
] ]
license = "(Apache-2.0 OR MIT) AND BSD-3-Clause" license = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
repository = "https://github.com/hsivonen/encoding_rs" repository = "https://github.com/hsivonen/encoding_rs"
+exclude = [ +exclude = [
+ "/generate-encoding-data.py", + "/ci/",
+ "/doc/",
+ "/*.py",
+ "/rustfmt.toml", + "/rustfmt.toml",
+] +]
[profile.release] [profile.release]
lto = true lto = true
@@ -45,10 +51,6 @@
[dependencies.cfg-if] [lib]
version = "1.0" name = "encoding_rs"
path = "src/lib.rs"
- -
-[dependencies.packed_simd] -[dependencies.any_all_workaround]
-version = "0.3.9" -version = "0.1.0"
-optional = true -optional = true
[dependencies.serde] [dependencies.cfg-if]
version = "1.0" version = "1.0"
@@ -74,10 +74,6 @@ @@ -84,4 +86,3 @@
less-slow-big5-hanzi-encode = [] less-slow-big5-hanzi-encode = []
less-slow-gb-hanzi-encode = [] less-slow-gb-hanzi-encode = []
less-slow-kanji-encode = [] less-slow-kanji-encode = []
-simd-accel = [ -simd-accel = ["any_all_workaround"]
- "packed_simd",
- "packed_simd/into_bits",
-]
[badges.travis-ci]
repository = "hsivonen/encoding_rs"

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate encoding_rs %global crate encoding_rs
Name: rust-encoding_rs Name: rust-encoding_rs
Version: 0.8.33 Version: 0.8.35
Release: %autorelease Release: %autorelease
Summary: Gecko-oriented implementation of the Encoding Standard Summary: Gecko-oriented implementation of the Encoding Standard
@ -16,10 +16,10 @@ URL: https://crates.io/crates/encoding_rs
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * drop unneeded script: https://github.com/hsivonen/encoding_rs/pull/38 # * drop unneeded script: https://github.com/hsivonen/encoding_rs/pull/38
# * drop simd_accel feature / optional packed_simd_2 dependency # * drop simd_accel feature and armv7hl-specific any_all_workaround dependency
Patch: encoding_rs-fix-metadata.diff Patch: encoding_rs-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A Gecko-oriented implementation of the Encoding Standard.} A Gecko-oriented implementation of the Encoding Standard.}
@ -190,7 +190,7 @@ use the "serde" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (encoding_rs-0.8.33.crate) = 20d28a4c0ff0710f911f510be56c2bc5e7514b76d370493d2b89b7f25d1c0cd46ffa64862e54fc472f07f928a2cc24cf9d790a37751cafafc81f263705aac4bc SHA512 (encoding_rs-0.8.35.crate) = 4b55b53553c5cb6fe05ae81d1c6f3b0bab73ecd3d426b15c58b9de9ea8dd61617bf0bb2e6d3ae2514c7cb6e73019b1a083173d1423b3ece2d190770c597114c4

Loading…
Cancel
Save