public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-compact_str] f43: Update to version 0.10.0; Fixes RHBZ#2481776
@ 2026-08-03 5:54 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-03 5:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-compact_str
Branch : f43
Commit : e4eed525da1f369f139a04103bca8d3fc1221b0f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-17T06:35:55+01:00
Stats : +92/-15 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-compact_str/c/e4eed525da1f369f139a04103bca8d3fc1221b0f?branch=f43
Log:
Update to version 0.10.0; Fixes RHBZ#2481776
---
diff --git a/.gitignore b/.gitignore
index 79f1b05..c97d271 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/compact_str-0.8.1.crate
/compact_str-0.9.0.crate
/compact_str-0.9.1.crate
+/compact_str-0.10.0.crate
diff --git a/compact_str-fix-metadata.diff b/compact_str-fix-metadata.diff
index 7d1b683..5099fe7 100644
--- a/compact_str-fix-metadata.diff
+++ b/compact_str-fix-metadata.diff
@@ -1,17 +1,25 @@
---- compact_str-0.9.1/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ compact_str-0.9.1/Cargo.toml 2026-07-16T18:37:39.830813+00:00
-@@ -48,32 +48,13 @@
+--- compact_str-0.10.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ compact_str-0.10.0/Cargo.toml 2026-07-17T05:35:05.356291+00:00
+@@ -49,46 +49,15 @@
[features]
arbitrary = ["dep:arbitrary"]
+-bevy-reflect = [
+- "dep:bevy_reflect",
+- "serde",
+-]
-borsh = ["dep:borsh"]
bytes = ["dep:bytes"]
default = ["std"]
+-defmt = ["dep:defmt"]
-diesel = ["dep:diesel"]
+-garde = ["dep:garde"]
-markup = ["dep:markup"]
proptest = ["dep:proptest"]
+-pyo3 = ["dep:pyo3"]
quickcheck = ["dep:quickcheck"]
rkyv = ["dep:rkyv"]
+ schemars = ["dep:schemars"]
serde = ["dep:serde"]
smallvec = ["dep:smallvec"]
-sqlx = [
@@ -31,20 +39,30 @@
- "sqlx/sqlite",
-]
std = []
+-utoipa = [
+- "dep:utoipa",
+- "std",
+-]
+-valuable = ["dep:valuable"]
zeroize = ["dep:zeroize"]
-@@ -85,10 +66,6 @@
+ [lib]
+@@ -99,14 +68,6 @@
version = "1"
optional = true
default-features = false
-
+-[dependencies.bevy_reflect]
+-version = "0.19"
+-optional = true
+-
-[dependencies.borsh]
-version = "1"
-optional = true
[dependencies.bytes]
version = "1"
-@@ -102,18 +79,8 @@
+@@ -120,33 +81,12 @@
[dependencies.cfg-if]
version = "1"
@@ -53,25 +71,62 @@
-optional = true
-default-features = false
-
+-[dependencies.garde]
+-version = "0.23"
+-features = ["derive"]
+-optional = true
+-default-features = false
+-
[dependencies.itoa]
version = "1"
-
-[dependencies.markup]
--version = "0.15"
+-version = "0.16"
-optional = true
-default-features = false
[dependencies.proptest]
version = "1"
-@@ -150,11 +117,6 @@
- version = "1"
+ features = ["std"]
+-optional = true
+-default-features = false
+-
+-[dependencies.pyo3]
+-version = "0.29"
+ optional = true
+ default-features = false
+
+@@ -179,22 +119,8 @@
features = ["union"]
optional = true
--
+
-[dependencies.sqlx]
--version = "0.8"
+-version = "0.9"
-optional = true
-default-features = false
-
+-
[dependencies.static_assertions]
version = "1"
+-
+-[dependencies.utoipa]
+-version = "5"
+-optional = true
+-
+-[dependencies.valuable]
+-version = "0.1.1"
+-optional = true
+-default-features = false
+
+ [dependencies.zeroize]
+ version = "1"
+@@ -251,10 +177,6 @@
+ [dev-dependencies.zmij]
+ version = "=1.0.21"
+
+-[target.'cfg(not(target_os = "windows"))'.dependencies.defmt]
+-version = "1"
+-optional = true
+-
+ [lints.rust.unexpected_cfgs]
+ level = "warn"
+ priority = 0
diff --git a/rust-compact_str.spec b/rust-compact_str.spec
index c449a78..b6ccd48 100644
--- a/rust-compact_str.spec
+++ b/rust-compact_str.spec
@@ -6,7 +6,7 @@
%global crate compact_str
Name: rust-compact_str
-Version: 0.9.1
+Version: 0.10.0
Release: %autorelease
Summary: Memory efficient string type
@@ -14,7 +14,9 @@ License: MIT
URL: https://crates.io/crates/compact_str
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * Drop unused support for borsh, diesel, markup, and sqlx
+# * Drop support/integrations for crates that are not packaged: bevy-reflect,
+# borsh, defmt, garde, markup, utoipa, and valuable
+# * Drop support/integrations that are simply not used (yet): diesel, pyo3, sqlx
Patch: compact_str-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -111,6 +113,18 @@ use the "rkyv" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+schemars-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+schemars-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "schemars" feature of the "%{crate}" crate.
+
+%files -n %{name}+schemars-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/rust2rpm.toml b/rust2rpm.toml
index c0b544f..a82154d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,7 +1,14 @@
[package]
summary = "Memory efficient string type"
cargo-toml-patch-comments = [
- "Drop unused support for borsh, diesel, markup, and sqlx",
+ """\
+Drop support/integrations for crates that are not packaged: \
+bevy-reflect, borsh, defmt, garde, markup, utoipa, and valuable\
+""",
+ """\
+Drop support/integrations that are simply not used (yet): \
+diesel, pyo3, sqlx\
+""",
]
[tests]
diff --git a/sources b/sources
index bb2d2c6..7936646 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (compact_str-0.9.1.crate) = 0e277e6a6b8d026a111d45a602766f802ef63376dcc1bb0a6d1f7ab9a57ef4492e03ae51a57ba10c2907be8234a6b491383d7460f124f1330e897fcc3a20b870
+SHA512 (compact_str-0.10.0.crate) = 4f8dc944fcea567aa5073fd6a3a526aef703caad2e0d4a94a4e6fdcf730badb67ab41f5b4ac57b1811b2bfa275de98780a15fdbcabc17d16b49236f30bdeaaa9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 5:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 5:54 [rpms/rust-compact_str] f43: Update to version 0.10.0; Fixes RHBZ#2481776 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox