Update to version 0.3.2; Fixes RHBZ#2309365

epel10 imports/epel10/rust-smol_str-0.3.2-1.el10
Fabio Valentini 2 months ago
parent bda5d3ef1f
commit ee36ce628c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/smol_str-0.2.0.crate
/smol_str-0.2.1.crate
/smol_str-0.2.2.crate
/smol_str-0.3.2.crate

@ -1,17 +1,20 @@
# Generated by rust2rpm 26
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate smol_str
Name: rust-smol_str
Version: 0.2.2
Version: 0.3.2
Release: %autorelease
Summary: Small-string optimized string type with O(1) clone
License: MIT OR Apache-2.0
URL: https://crates.io/crates/smol_str
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused optional support for borsh
Patch: smol_str-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -32,6 +35,7 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/

@ -1,3 +1,8 @@
[package]
cargo-toml-patch-comments = [
"drop unused optional support for borsh",
]
[tests]
skip = ["check_code_formatting"]
skip-exact = true

@ -0,0 +1,20 @@
--- smol_str-0.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ smol_str-0.3.2/Cargo.toml 2024-12-02T17:27:50.402886+00:00
@@ -50,11 +50,6 @@
version = "1.3"
optional = true
-[dependencies.borsh]
-version = "1.4.0"
-optional = true
-default-features = false
-
[dependencies.serde]
version = "1.0"
optional = true
@@ -74,5 +69,4 @@
default = ["std"]
std = [
"serde?/std",
- "borsh?/std",
]

@ -1 +1 @@
SHA512 (smol_str-0.2.2.crate) = 0ae3f9f94cfdf0c8040e77fe31517f8281c5d0c15a2007302034139d9e04b65c629b23d7406cade8118c932b8e9837b37448f05a77b01ca180d477d14a05dd8b
SHA512 (smol_str-0.3.2.crate) = 37c4f37d13f20175fc2d0d437c00c4c47581770ceb9bbb0966398686f8723ce0aee7a3a6bad97f76644f12174a2ceffe2b9c8f13fac05c46a7584585ac88b474

Loading…
Cancel
Save