Skip to content

Commit

Permalink
upgrade to 0.2.9
Browse files Browse the repository at this point in the history
Change-Id: Ic7e7e8c83ef1c73a88f0d699683f7bf3e0b322a7
  • Loading branch information
wangfenjin committed Sep 11, 2021
1 parent 34c8b8d commit e639e25
Show file tree
Hide file tree
Showing 6 changed files with 22,407 additions and 21,894 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@ jobs:
components: 'rustfmt, clippy'

- run: cargo fmt --all -- --check
# - name: Download DuckDB
# run: |
# wget https://github.com/duckdb/duckdb/releases/download/v0.2.8/libduckdb-linux-amd64.zip -O libduckdb.zip
# unzip libduckdb.zip -d libduckdb
# - run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure
- run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
- name: Download DuckDB
run: |
wget https://github.com/duckdb/duckdb/releases/download/v0.2.8/libduckdb-linux-amd64.zip -O libduckdb.zip
unzip libduckdb.zip -d libduckdb
# - run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
- run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure
name: run cargo clippy
# env:
# DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
# DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
# LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
env:
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
# Intentionally omit time feature until we're on time 0.3, at which
# point it should be added to `bundled-full`.
# args: '--features "buildtime_bindgen" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
args: '--features "bundled" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
# env:
# DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
# DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
# LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
args: '--features "buildtime_bindgen" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
# args: '--features "bundled" --features "modern-full" --avoid-cfg-tarpaulin' # TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
env:
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
- name: Upload to codecov.io
uses: codecov/codecov-action@v1

Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "duckdb"
version = "0.2.4"
version = "0.2.9"
authors = ["wangfenjin <[email protected]>"]
edition = "2018"
description = "Ergonomic wrapper for DuckDB"
Expand Down Expand Up @@ -44,7 +44,7 @@ fallible-streaming-iterator = "0.1"
memchr = "2.3"
uuid = { version = "0.8", optional = true }
smallvec = "1.6.1"
cast = { version = "0.2", features = ["std", "x128"] }
cast = { version = "0.3", features = ["std", "x128"] }
arrow = { version = "5.0", default-features = false, features = ["prettyprint"] }
rust_decimal = "1.14"
strum = { version = "0.21", features = ["derive"] }
Expand All @@ -65,7 +65,7 @@ rand = "0.8.3"

[dependencies.libduckdb-sys]
path = "libduckdb-sys"
version = "0.2.4"
version = "0.2.9"

[package.metadata.docs.rs]
features = []
Expand Down
2 changes: 1 addition & 1 deletion libduckdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libduckdb-sys"
version = "0.2.4"
version = "0.2.9"
authors = ["wangfenjin <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
Loading

0 comments on commit e639e25

Please sign in to comment.