From 321393a66763947660374636e24106a1bfcea590 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Thu, 12 Sep 2024 09:01:26 +0800 Subject: [PATCH] chore: skip building duckdb (#195) * chore: skip building duckdb * ci: add ci task for building duckdb example * ci: turn on bundled feature again --- .github/workflows/ci.yml | 2 ++ Cargo.toml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aeeb6d..fa226d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index bc947c3..0c451d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -107,7 +108,7 @@ required-features = ["server-api"] [[example]] name = "duckdb" -required-features = ["server-api"] +required-features = ["server-api", "_duckdb"] [[example]] name = "copy"