Compare commits

..

5 Commits

1
.gitignore vendored

@ -5,3 +5,4 @@
/rusqlite-0.26.1.crate /rusqlite-0.26.1.crate
/rusqlite-0.26.3.crate /rusqlite-0.26.3.crate
/rusqlite-0.28.0.crate /rusqlite-0.28.0.crate
/rusqlite-0.31.0.crate

@ -1,17 +1,37 @@
--- rusqlite-0.28.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- rusqlite-0.31.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rusqlite-0.28.0/Cargo.toml 2023-11-29T19:12:54.996906+00:00 +++ rusqlite-0.31.0/Cargo.toml 2024-09-29T18:29:36.129354+00:00
@@ -83,7 +83,7 @@ @@ -67,7 +67,6 @@
name = "load_extension"
required-features = [
"load_extension",
- "bundled",
"functions",
"trace",
]
@@ -114,10 +113,6 @@
[dependencies.libsqlite3-sys]
version = "0.28.0"
-
-[dependencies.rusqlite-macros]
-version = "0.2.0"
-optional = true
[dependencies.serde_json]
version = "1.0"
@@ -143,9 +138,6 @@
version = "1.0"
optional = true optional = true
[dependencies.fallible-iterator] -[dev-dependencies.bencher]
-version = "0.2" -version = "0.1"
+version = "0.3" -
[dev-dependencies.doc-comment]
version = "0.3"
[dependencies.fallible-streaming-iterator] @@ -170,23 +162,6 @@
version = "0.1" backup = []
@@ -149,23 +149,6 @@ blob = []
backup = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
blob = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"] buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
-bundled = [ -bundled = [
- "libsqlite3-sys/bundled", - "libsqlite3-sys/bundled",
@ -33,8 +53,8 @@
collation = [] collation = []
column_decltype = [] column_decltype = []
csvtab = [ csvtab = [
@@ -176,10 +159,6 @@ @@ -197,13 +172,8 @@
functions = ["libsqlite3-sys/min_sqlite_version_3_7_7"] functions = []
hooks = [] hooks = []
i128_blob = [] i128_blob = []
-in_gecko = [ -in_gecko = [
@ -43,23 +63,30 @@
-] -]
limits = [] limits = []
load_extension = [] load_extension = []
-loadable_extension = ["libsqlite3-sys/loadable_extension"]
modern-full = [ modern-full = [
@@ -207,7 +186,7 @@ "array",
"backup",
@@ -229,7 +199,7 @@
"vtab", "vtab",
"window", "window",
] ]
-modern_sqlite = ["libsqlite3-sys/bundled_bindings"] -modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
+modern_sqlite = [] +modern_sqlite = []
release_memory = ["libsqlite3-sys/min_sqlite_version_3_7_16"] release_memory = []
serialize = ["modern_sqlite"]
series = ["vtab"] series = ["vtab"]
session = [ @@ -237,13 +207,10 @@
@@ -218,9 +197,7 @@ "libsqlite3-sys/session",
trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"] "hooks",
]
-sqlcipher = ["libsqlite3-sys/sqlcipher"]
trace = []
unlock_notify = ["libsqlite3-sys/unlock_notify"] unlock_notify = ["libsqlite3-sys/unlock_notify"]
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7"] vtab = []
-wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"] -wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"]
window = ["functions"] window = ["functions"]
-winsqlite3 = ["libsqlite3-sys/winsqlite3"] -with-asan = ["libsqlite3-sys/with-asan"]
with-asan = ["libsqlite3-sys/with-asan"]
[badges.appveyor] [badges.appveyor]
repository = "rusqlite/rusqlite"

@ -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 rusqlite %global crate rusqlite
Name: rust-rusqlite Name: rust-rusqlite
Version: 0.28.0 Version: 0.31.0
Release: %autorelease Release: %autorelease
Summary: Ergonomic wrapper for SQLite Summary: Ergonomic wrapper for SQLite
@ -13,12 +13,14 @@ License: MIT
URL: https://crates.io/crates/rusqlite URL: https://crates.io/crates/rusqlite
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * bump fallible-iterator dependency from 0.2 to 0.3
# * drop features for building with bundled dependencies # * drop features for building with bundled dependencies
# * drop Windows- and WASM-specific features and dependencies # * drop Windows- and WASM-specific features and dependencies
# * drop unused optional rusqlite_macros dependency
# * drop unused support for sqlcipher
# * drop unused, benchmark-only bencher dev-dependency
Patch: rusqlite-fix-metadata.diff Patch: rusqlite-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Ergonomic wrapper for SQLite.} Ergonomic wrapper for SQLite.}
@ -207,18 +209,6 @@ use the "i128_blob" feature of the "%{crate}" crate.
%files -n %{name}+i128_blob-devel %files -n %{name}+i128_blob-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lazy_static-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lazy_static-devel %{_description}
This package contains library source intended for building other packages which
use the "lazy_static" feature of the "%{crate}" crate.
%files -n %{name}+lazy_static-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+limits-devel %package -n %{name}+limits-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -291,40 +281,40 @@ use the "serde_json" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-devel %files -n %{name}+serde_json-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+series-devel %package -n %{name}+serialize-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+series-devel %{_description} %description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "series" feature of the "%{crate}" crate. use the "serialize" feature of the "%{crate}" crate.
%files -n %{name}+series-devel %files -n %{name}+serialize-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+session-devel %package -n %{name}+series-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+session-devel %{_description} %description -n %{name}+series-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "session" feature of the "%{crate}" crate. use the "series" feature of the "%{crate}" crate.
%files -n %{name}+session-devel %files -n %{name}+series-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+sqlcipher-devel %package -n %{name}+session-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+sqlcipher-devel %{_description} %description -n %{name}+session-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "sqlcipher" feature of the "%{crate}" crate. use the "session" feature of the "%{crate}" crate.
%files -n %{name}+sqlcipher-devel %files -n %{name}+session-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+time-devel %package -n %{name}+time-devel
@ -411,20 +401,8 @@ use the "window" feature of the "%{crate}" crate.
%files -n %{name}+window-devel %files -n %{name}+window-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-asan-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+with-asan-devel %{_description}
This package contains library source intended for building other packages which
use the "with-asan" feature of the "%{crate}" crate.
%files -n %{name}+with-asan-devel
%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

@ -0,0 +1,9 @@
[package]
cargo-toml-patch-comments = [
"drop features for building with bundled dependencies",
"drop Windows- and WASM-specific features and dependencies",
"drop unused optional rusqlite_macros dependency",
"drop unused support for sqlcipher",
"drop unused, benchmark-only bencher dev-dependency",
]

@ -1 +1 @@
SHA512 (rusqlite-0.28.0.crate) = a38205b2437ffb50bf8a14304b4a30a62993957a348f03b37d09fabb9269fcbdb35dafab496f7cecdcefb7353720ffc0580822d9b231e0f75cee23b6f7344857 SHA512 (rusqlite-0.31.0.crate) = 6d20b015ab72d3d75c363111c0cb41feae8bff83104ebdfcb8e5efc1bfb63eb48a17f6de2e6c96cb1e916b4795fea6d58466ab0820b151b12d1dc4c29800ba66

Loading…
Cancel
Save