public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-faster-hex] epel9: Update to version 1.0.0; Fixes RHBZ#2539352
Date: Wed, 18 Nov 2026 18:31:26 GMT [thread overview]
Message-ID: <179502668657.1.15269070005778970651.rpms-rust-faster-hex-131ea41cdff9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-faster-hex
Branch : epel9
Commit : 131ea41cdff9285052a45e829855b039e37a87a7
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-17T23:55:22+01:00
Stats : +55/-30 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-faster-hex/c/131ea41cdff9285052a45e829855b039e37a87a7?branch=epel9
Log:
Update to version 1.0.0; Fixes RHBZ#2539352
---
diff --git a/.gitignore b/.gitignore
index 988be3e..485ae6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/faster-hex-0.9.0.crate
/faster-hex-0.10.0.crate
/faster-hex-0.10.1.crate
+/faster-hex-1.0.0.crate
diff --git a/faster-hex-fix-metadata.diff b/faster-hex-fix-metadata.diff
index a7bfbb0..e3d95e9 100644
--- a/faster-hex-fix-metadata.diff
+++ b/faster-hex-fix-metadata.diff
@@ -1,7 +1,7 @@
---- faster-hex-0.10.1/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ faster-hex-0.10.1/Cargo.toml 2026-10-17T20:00:48.803061+00:00
-@@ -39,12 +39,11 @@
- repository = "https://github.com/NervosFoundation/faster-hex"
+--- faster-hex-1.0.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ faster-hex-1.0.0/Cargo.toml 2026-11-17T22:49:31.022047+00:00
+@@ -50,16 +50,11 @@
+ all-features = true
[features]
-alloc = ["defmt?/alloc"]
@@ -10,36 +10,56 @@
"std",
"serde",
]
--defmt-03 = ["dep:defmt"]
+-defmt-03 = [
+- "dep:defmt",
+- "heapless?/defmt-03",
+-]
+-heapless-08 = ["dep:heapless"]
serde = [
"dep:serde",
- "alloc",
-@@ -58,10 +57,6 @@
- name = "faster_hex"
- path = "src/lib.rs"
+ "serde/alloc",
+@@ -98,44 +93,13 @@
+ name = "serde_protocol"
+ path = "tests/serde_protocol.rs"
-[dependencies.defmt]
-version = "0.3"
-optional = true
-
+-[dependencies.heapless]
+-version = "0.8"
+-optional = true
+-default-features = false
+-
[dependencies.serde]
version = "1.0"
optional = true
-@@ -70,16 +65,10 @@
- [dev-dependencies.bytes]
- version = "1.4.0"
+ default-features = false
+-[dev-dependencies.better-hex]
+-version = "1.0"
+-
+-[dev-dependencies.const-hex]
+-version = "1.19"
+-
-[dev-dependencies.criterion]
-version = "0.5"
-
+-[dev-dependencies.data-encoding]
+-version = "2"
+-
+-[dev-dependencies.defmt]
+-version = "0.3"
+-features = ["unstable-test"]
+-
+-[dev-dependencies.fashex]
+-version = "0.1"
+-
[dev-dependencies.hex]
--version = "0.3.2"
-+version = "0.4.0"
-
- [dev-dependencies.proptest]
--version = "1.0"
+ version = "0.4"
-
--[dev-dependencies.rustc-hex]
- version = "1.0"
+-[dev-dependencies.hex-simd]
+-version = "0.8"
- [dev-dependencies.serde]
+ [dev-dependencies.libc]
+ version = "0.2"
diff --git a/rust-faster-hex.spec b/rust-faster-hex.spec
index f9f9f3b..7455111 100644
--- a/rust-faster-hex.spec
+++ b/rust-faster-hex.spec
@@ -5,23 +5,22 @@
%global crate faster-hex
Name: rust-faster-hex
-Version: 0.10.1
+Version: 1.0.0
Release: %autorelease
-Summary: Fast hex encoding
+Summary: Fast, checked hex encoding and decoding with SIMD and no_std support
License: MIT
URL: https://crates.io/crates/faster-hex
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * drop benchmark dependencies (criterion, rustc-hex)
-# * drop optional support for defmt
-# * update hex dependency to version 0.4.x
+# * drop benchmark-specific dev-dependencies
+# * drop optional support for defmt and heapless
Patch: faster-hex-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Fast hex encoding.}
+Fast, checked hex encoding and decoding with SIMD and no_std support.}
%description %{_description}
@@ -37,7 +36,12 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%license "%{crate_instdir}/LICENSE-THIRD-PARTY/Rust Project Developers"
+%license %{crate_instdir}/LICENSE-THIRD-PARTY/const-hex
%license %{crate_instdir}/LICENSE-THIRD-PARTY/fast-hex
+%license %{crate_instdir}/LICENSE-THIRD-PARTY/vsimd
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/MIGRATION.md
+%doc %{crate_instdir}/OPTIMIZATION.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
diff --git a/rust2rpm.toml b/rust2rpm.toml
index a39c746..3cb04bb 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,6 @@
[package]
cargo-toml-patch-comments = [
- "drop benchmark dependencies (criterion, rustc-hex)",
- "drop optional support for defmt",
- "update hex dependency to version 0.4.x",
+ "drop benchmark-specific dev-dependencies",
+ "drop optional support for defmt and heapless",
]
+
diff --git a/sources b/sources
index 00c4d5b..30b8763 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (faster-hex-0.10.1.crate) = c41a842206a881e682a1da5d6ba8c132894844743e5c4aba6aa4fe31dfb1fce36e10281725f7a4fa15a2d5f0d89ec5bfac64b9d23541b435f385b7d34126f682
+SHA512 (faster-hex-1.0.0.crate) = e61a1399f6f4609331956c2cd084549d97bb063a8f00896d691e2d5589a0e4439e3ffa3d3a1fe2d41c32601a29b2d04794d227ee387d9526356ffcd87579cb84
reply other threads:[~2026-11-18 18:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179502668657.1.15269070005778970651.rpms-rust-faster-hex-131ea41cdff9@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox