Skip to content

Commit be3b6f0

Browse files
authored
Merge pull request #24 from wangfenjin/0.2.9
upgrade to 0.2.9
2 parents 34c8b8d + b663ced commit be3b6f0

File tree

6 files changed

+22407
-21894
lines changed

6 files changed

+22407
-21894
lines changed

.github/workflows/rust.yaml

+16-16
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,28 @@ jobs:
3636
components: 'rustfmt, clippy'
3737

3838
- run: cargo fmt --all -- --check
39-
# - name: Download DuckDB
40-
# run: |
41-
# wget https://github.com/duckdb/duckdb/releases/download/v0.2.8/libduckdb-linux-amd64.zip -O libduckdb.zip
42-
# unzip libduckdb.zip -d libduckdb
43-
# - run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure
44-
- run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
39+
- name: Download DuckDB
40+
run: |
41+
wget https://github.com/duckdb/duckdb/releases/download/v0.2.9/libduckdb-linux-amd64.zip -O libduckdb.zip
42+
unzip libduckdb.zip -d libduckdb
43+
# - run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
44+
- run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure
4545
name: run cargo clippy
46-
# env:
47-
# DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
48-
# DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
49-
# LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
46+
env:
47+
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
48+
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
49+
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
5050
- name: Run cargo-tarpaulin
5151
uses: actions-rs/[email protected]
5252
with:
5353
# Intentionally omit time feature until we're on time 0.3, at which
5454
# point it should be added to `bundled-full`.
55-
# args: '--features "buildtime_bindgen" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
56-
args: '--features "bundled" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
57-
# env:
58-
# DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
59-
# DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
60-
# LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
55+
args: '--features "buildtime_bindgen" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
56+
# args: '--features "bundled" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
57+
env:
58+
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
59+
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
60+
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
6161
- name: Upload to codecov.io
6262
uses: codecov/codecov-action@v1
6363

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "duckdb"
3-
version = "0.2.4"
3+
version = "0.2.9"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2018"
66
description = "Ergonomic wrapper for DuckDB"
@@ -44,7 +44,7 @@ fallible-streaming-iterator = "0.1"
4444
memchr = "2.3"
4545
uuid = { version = "0.8", optional = true }
4646
smallvec = "1.6.1"
47-
cast = { version = "0.2", features = ["std", "x128"] }
47+
cast = { version = "0.3", features = ["std"] }
4848
arrow = { version = "5.0", default-features = false, features = ["prettyprint"] }
4949
rust_decimal = "1.14"
5050
strum = { version = "0.21", features = ["derive"] }
@@ -65,7 +65,7 @@ rand = "0.8.3"
6565

6666
[dependencies.libduckdb-sys]
6767
path = "libduckdb-sys"
68-
version = "0.2.4"
68+
version = "0.2.9"
6969

7070
[package.metadata.docs.rs]
7171
features = []

libduckdb-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libduckdb-sys"
3-
version = "0.2.4"
3+
version = "0.2.9"
44
authors = ["wangfenjin <[email protected]>"]
55
edition = "2018"
66
build = "build.rs"

0 commit comments

Comments
 (0)