From 29e1adada01ca6736cf581ca6dc04f8105f5f792 Mon Sep 17 00:00:00 2001 From: yfu Date: Tue, 13 Aug 2024 11:28:36 +1000 Subject: [PATCH] fix clippy --- crates/duckdb/Cargo.toml | 2 ++ crates/duckdb/src/core/data_chunk.rs | 1 + crates/libduckdb-sys/Cargo.toml | 1 + 3 files changed, 4 insertions(+) diff --git a/crates/duckdb/Cargo.toml b/crates/duckdb/Cargo.toml index d2783176..d615a9ef 100644 --- a/crates/duckdb/Cargo.toml +++ b/crates/duckdb/Cargo.toml @@ -32,6 +32,8 @@ extensions-full = ["json", "parquet", "vtab-full"] buildtime_bindgen = ["libduckdb-sys/buildtime_bindgen"] modern-full = ["chrono", "serde_json", "url", "r2d2", "uuid", "polars"] polars = ["dep:polars"] +time = [] +column_decltype = [] [dependencies] libduckdb-sys = { workspace = true } diff --git a/crates/duckdb/src/core/data_chunk.rs b/crates/duckdb/src/core/data_chunk.rs index 7b6d2e2c..3ef35992 100644 --- a/crates/duckdb/src/core/data_chunk.rs +++ b/crates/duckdb/src/core/data_chunk.rs @@ -26,6 +26,7 @@ impl Drop for DataChunkHandle { } impl DataChunkHandle { + #[allow(dead_code)] pub(crate) unsafe fn new_unowned(ptr: duckdb_data_chunk) -> Self { Self { ptr, owned: false } } diff --git a/crates/libduckdb-sys/Cargo.toml b/crates/libduckdb-sys/Cargo.toml index d02c0ea0..8e6804bd 100644 --- a/crates/libduckdb-sys/Cargo.toml +++ b/crates/libduckdb-sys/Cargo.toml @@ -22,6 +22,7 @@ buildtime_bindgen = ["bindgen", "pkg-config", "vcpkg"] json = ["bundled"] parquet = ["bundled"] extensions-full = ["json", "parquet"] +winduckdb = [] [dependencies]