Skip to content

Commit

Permalink
Bump libsqlite3-sys to support 0.32.0 as well
Browse files Browse the repository at this point in the history
This commit increases our maximal supported libsqlite3-sys version to 0.32.0. 
It also adds explicit feature entries for the `uuid` and `serde_json`
feature as `lib.rs` complains about that.
  • Loading branch information
weiznich committed Mar 7, 2025
1 parent 82df9f0 commit 0e35214
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Increasing the minimal supported Rust version will always be coupled at least wi
* Fixed `#[derive(Identifiable)]` ignoring attribute `#[diesel(serialize_as)]` on primary keys
* Added embedded struct support for `AsChangeset` via `#[diesel(embed)]`
* Added a `#[diesel(skip_update)]` attribute for the `AsChangeset` derive to skip updating a field present in the struct
* Support for libsqlite3-sys 0.31.0
* Support for libsqlite3-sys 0.32.0
* Add support for built-in PostgreSQL range operators and functions
* Support for postgres multirange type
* Added `diesel::r2d2::TestCustomizer`, which allows users to customize their `diesel::r2d2::Pool`s
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ include = ["src/**/*.rs", "tests/**/*.rs", "LICENSE-*", "README.md"]
edition = "2021"

[workspace.dependencies]
libsqlite3-sys = ">=0.30.1,<0.32.0"
libsqlite3-sys = ">=0.30.1,<0.33.0"
pq-sys = ">=0.6,<0.8"
openssl-sys = "0.9.100"
mysqlclient-sys = "0.4"
Expand Down
4 changes: 3 additions & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ version = "~2.2.0"
path = "../diesel_derives"

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
libsqlite3-sys = { version = ">=0.17.2, <0.32.0", optional = true, features = ["bundled_bindings"] }
libsqlite3-sys = { version = ">=0.17.2, <0.33.0", optional = true, features = ["bundled_bindings"] }

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
sqlite-wasm-rs = { version = ">=0.3.0, <0.4.0", optional = true, default-features = false }
Expand Down Expand Up @@ -93,6 +93,8 @@ i-implement-a-third-party-backend-and-opt-into-breaking-changes = []
r2d2 = ["diesel_derives/r2d2", "dep:r2d2"]
chrono = ["diesel_derives/chrono", "dep:chrono"]
time = ["diesel_derives/time", "dep:time"]
uuid = ["dep:uuid"]
serde_json = ["dep:serde_json"]
__with_asan_tests = [
"libsqlite3-sys?/bundled",
"libsqlite3-sys?/with-asan",
Expand Down

0 comments on commit 0e35214

Please sign in to comment.