Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade duckdb to 0.9.2 and update dependencies #240

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: Download duckdb
with:
repository: "duckdb/duckdb"
tag: "v0.9.1"
tag: "v0.9.2"
fileName: ${{ matrix.duckdb }}
out-file-path: .

Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "duckdb"
version = "0.9.1"
version = "0.9.2"
authors = ["wangfenjin <wangfenj@gmail.com>"]
edition = "2021"
description = "Ergonomic wrapper for DuckDB"
Expand Down Expand Up @@ -52,14 +52,14 @@ memchr = "2.3"
uuid = { version = "1.0", optional = true }
smallvec = "1.6.1"
cast = { version = "0.3", features = ["std"] }
arrow = { version = "47", default-features = false, features = ["prettyprint", "ffi"] }
arrow = { version = "49", default-features = false, features = ["prettyprint", "ffi"] }
rust_decimal = "1.14"
strum = { version = "0.25", features = ["derive"] }
r2d2 = { version = "0.8.9", optional = true }
calamine = { version = "0.22.0", optional = true }
num = { version = "0.4", optional = true, default-features = false, features = ["std"] }
duckdb-loadable-macros = { version = "0.1.0", path="./duckdb-loadable-macros", optional = true }
polars = { version = "0.33.2", features = ["dtype-full"], optional = true}
polars = { version = "0.35.4", features = ["dtype-full"], optional = true}

[dev-dependencies]
doc-comment = "0.3"
Expand All @@ -70,7 +70,7 @@ uuid = { version = "1.0", features = ["v4"] }
unicase = "2.6.0"
rand = "0.8.3"
tempdir = "0.3.7"
polars-core = "0.33.2"
polars-core = "0.35.4"
# criterion = "0.3"

# [[bench]]
Expand All @@ -79,7 +79,7 @@ polars-core = "0.33.2"

[dependencies.libduckdb-sys]
path = "libduckdb-sys"
version = "0.9.1"
version = "0.9.2"

[package.metadata.docs.rs]
features = []
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ You can adjust this behavior in a number of ways:
This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file:
```toml
[dependencies]
# Assume that version DuckDB version 0.9.1 is used.
duckdb = { version = "0.9.1", features = ["bundled"] }
# Assume that version DuckDB version 0.9.2 is used.
duckdb = { version = "0.9.2", features = ["bundled"] }
```
* 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`.
* Installing the duckdb development packages will usually be all that is required, but
Expand Down
6 changes: 3 additions & 3 deletions libduckdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libduckdb-sys"
version = "0.9.1"
version = "0.9.2"
authors = ["wangfenjin <wangfenj@gmail.com>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -29,7 +29,7 @@ extensions-full = ["httpfs", "json", "parquet"]

[build-dependencies]
autocfg = "1.0"
bindgen = { version = "0.68", optional = true, default-features = false, features = ["runtime"] }
bindgen = { version = "0.69", optional = true, default-features = false, features = ["runtime"] }
flate2 = "1.0"
pkg-config = { version = "0.3.24", optional = true }
cc = { version = "1.0", features = ["parallel"], optional = true }
Expand All @@ -39,4 +39,4 @@ serde_json = { version = "1.0" }
tar = "0.4.38"

[dev-dependencies]
arrow = { version = "47", default-features = false, features = ["ffi"] }
arrow = { version = "49", default-features = false, features = ["ffi"] }
2 changes: 1 addition & 1 deletion libduckdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ mod bindings {
bindgen::builder()
.trust_clang_mangling(false)
.header(header.clone())
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate()
.unwrap_or_else(|_| panic!("could not run bindgen on header {header}"))
.write(Box::new(&mut output))
Expand Down
2 changes: 1 addition & 1 deletion libduckdb-sys/duckdb-sources
Submodule duckdb-sources updated 280 files
Binary file modified libduckdb-sys/duckdb.tar.gz
Binary file not shown.
Loading
Loading