public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-faster-hex] f44: Update to version 1.0.0; Fixes RHBZ#2539352
@ 2026-11-18 18:30 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-18 18:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-faster-hex
Branch : f44
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=f44

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 18:30 [rpms/rust-faster-hex] f44: Update to version 1.0.0; Fixes RHBZ#2539352 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox