Skip to content

Commit 4489432

Browse files
authored
Upgrade duckdb to 0.9.2 and update dependencies (#240)
* Upgrade polars, arrow, and bindgen * Upgrade to 0.9.2
1 parent 3bff098 commit 4489432

File tree

11 files changed

+205
-60
lines changed

11 files changed

+205
-60
lines changed

.github/workflows/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
name: Download duckdb
3939
with:
4040
repository: "duckdb/duckdb"
41-
tag: "v0.9.1"
41+
tag: "v0.9.2"
4242
fileName: ${{ matrix.duckdb }}
4343
out-file-path: .
4444

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckdb"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
description = "Ergonomic wrapper for DuckDB"
@@ -52,14 +52,14 @@ memchr = "2.3"
5252
uuid = { version = "1.0", optional = true }
5353
smallvec = "1.6.1"
5454
cast = { version = "0.3", features = ["std"] }
55-
arrow = { version = "47", default-features = false, features = ["prettyprint", "ffi"] }
55+
arrow = { version = "49", default-features = false, features = ["prettyprint", "ffi"] }
5656
rust_decimal = "1.14"
5757
strum = { version = "0.25", features = ["derive"] }
5858
r2d2 = { version = "0.8.9", optional = true }
5959
calamine = { version = "0.22.0", optional = true }
6060
num = { version = "0.4", optional = true, default-features = false, features = ["std"] }
6161
duckdb-loadable-macros = { version = "0.1.0", path="./duckdb-loadable-macros", optional = true }
62-
polars = { version = "0.33.2", features = ["dtype-full"], optional = true}
62+
polars = { version = "0.35.4", features = ["dtype-full"], optional = true}
6363

6464
[dev-dependencies]
6565
doc-comment = "0.3"
@@ -70,7 +70,7 @@ uuid = { version = "1.0", features = ["v4"] }
7070
unicase = "2.6.0"
7171
rand = "0.8.3"
7272
tempdir = "0.3.7"
73-
polars-core = "0.33.2"
73+
polars-core = "0.35.4"
7474
# criterion = "0.3"
7575

7676
# [[bench]]
@@ -79,7 +79,7 @@ polars-core = "0.33.2"
7979

8080
[dependencies.libduckdb-sys]
8181
path = "libduckdb-sys"
82-
version = "0.9.1"
82+
version = "0.9.2"
8383

8484
[package.metadata.docs.rs]
8585
features = []

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ You can adjust this behavior in a number of ways:
9393
This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file:
9494
```toml
9595
[dependencies]
96-
# Assume that version DuckDB version 0.9.1 is used.
97-
duckdb = { version = "0.9.1", features = ["bundled"] }
96+
# Assume that version DuckDB version 0.9.2 is used.
97+
duckdb = { version = "0.9.2", features = ["bundled"] }
9898
```
9999
* When linking against a DuckDB library already on the system (so *not* using any of the `bundled` features), you can set the `DUCKDB_LIB_DIR` environment variable to point to a directory containing the library. You can also set the `DUCKDB_INCLUDE_DIR` variable to point to the directory containing `duckdb.h`.
100100
* Installing the duckdb development packages will usually be all that is required, but

libduckdb-sys/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libduckdb-sys"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2021"
66
build = "build.rs"
@@ -29,7 +29,7 @@ extensions-full = ["httpfs", "json", "parquet"]
2929

3030
[build-dependencies]
3131
autocfg = "1.0"
32-
bindgen = { version = "0.68", optional = true, default-features = false, features = ["runtime"] }
32+
bindgen = { version = "0.69", optional = true, default-features = false, features = ["runtime"] }
3333
flate2 = "1.0"
3434
pkg-config = { version = "0.3.24", optional = true }
3535
cc = { version = "1.0", features = ["parallel"], optional = true }
@@ -39,4 +39,4 @@ serde_json = { version = "1.0" }
3939
tar = "0.4.38"
4040

4141
[dev-dependencies]
42-
arrow = { version = "47", default-features = false, features = ["ffi"] }
42+
arrow = { version = "49", default-features = false, features = ["ffi"] }

libduckdb-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ mod bindings {
323323
bindgen::builder()
324324
.trust_clang_mangling(false)
325325
.header(header.clone())
326-
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
326+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
327327
.generate()
328328
.unwrap_or_else(|_| panic!("could not run bindgen on header {header}"))
329329
.write(Box::new(&mut output))

libduckdb-sys/duckdb-sources

Submodule duckdb-sources updated 280 files

libduckdb-sys/duckdb.tar.gz

5.76 KB
Binary file not shown.

0 commit comments

Comments
 (0)