You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new `--patch` option, `upgrade.sh` will now increment only the
duckdb-rs crate patch version and leave DuckDB sources, generated
bindings, and DuckDB download tags unchanged. Handy for Rust-only patch
releases.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ These extensions are only available through the CMake build backend and imply `b
136
136
137
137
Starting with DuckDB `v1.5.0`, the duckdb-rs version encodes the DuckDB version in its second semver component.
138
138
The format is `1.MAJOR_MINOR_PATCH.x`, e.g., DuckDB `v1.5.0` maps to duckdb-rs `1.10500.x`.
139
+
Use a tilde requirement to receive duckdb-rs patch releases without automatically moving to a different bundled DuckDB version.
139
140
140
141
### Using stable releases from crates.io
141
142
@@ -149,7 +150,7 @@ Or manually add it to your `Cargo.toml`:
149
150
150
151
```toml
151
152
[dependencies]
152
-
duckdb = { version = "=1.10503.0", features = ["bundled"] }
153
+
duckdb = { version = "~1.10503.0", features = ["bundled"] }
153
154
```
154
155
155
156
### Using the development version from git
@@ -188,7 +189,7 @@ You can adjust this behavior in a number of ways:
188
189
189
190
```toml
190
191
[dependencies]
191
-
duckdb = { version = "1.10503.0", features = ["bundled"] }
192
+
duckdb = { version = "~1.10503.0", features = ["bundled"] }
192
193
```
193
194
194
195
2. If you use the `bundled-cmake` feature, `libduckdb-sys` will build DuckDB from the local checkout in `crates/libduckdb-sys/duckdb-sources` using upstream CMake. This keeps plain `bundled` unchanged while allowing CMake-only extensions such as `icu`.
0 commit comments