Skip to content

Commit

Permalink
chore: skip building duckdb (#195)
Browse files Browse the repository at this point in the history
* chore: skip building duckdb

* ci: add ci task for building duckdb example

* ci: turn on bundled feature again
  • Loading branch information
sunng87 authored Sep 12, 2024
1 parent f4fdf09 commit 321393a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
run: cargo test --features server-api-ring,scram
- name: Run tests on additional scram+aws-lc-rs feature set
run: cargo test --features scram
- name: Run tests on _duckdb example
run: cargo test --features _duckdb

integration:
name: Integration tests
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ server-api = [
server-api-ring = ["server-api", "ring"]
server-api-aws-lc-rs = ["server-api", "aws-lc-rs"]
scram = ["dep:base64", "dep:stringprep", "dep:x509-certificate"]
_duckdb = []

[dev-dependencies]
tokio = { version = "1.19", features = ["rt-multi-thread", "net", "macros"]}
rusqlite = { version = "0.31.0", features = ["bundled", "column_decltype"] }
## for duckdb example
duckdb = { version = "0.10.0", features = ["bundled"] }
duckdb = { version = "1.0.0", features = ["bundled"] }

## for loading custom cert files
rustls-pemfile = "2.0"
Expand Down Expand Up @@ -107,7 +108,7 @@ required-features = ["server-api"]

[[example]]
name = "duckdb"
required-features = ["server-api"]
required-features = ["server-api", "_duckdb"]

[[example]]
name = "copy"
Expand Down

0 comments on commit 321393a

Please sign in to comment.