Skip to content

Commit

Permalink
fix: Optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
peasee committed Dec 30, 2024
1 parent 7ebcd47 commit aced38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ insta = { version = "1.40.0", features = ["filters"] }
[features]
mysql = ["dep:mysql_async", "dep:async-stream"]
postgres = ["dep:tokio-postgres", "dep:uuid", "dep:postgres-native-tls", "dep:bb8", "dep:bb8-postgres", "dep:native-tls", "dep:pem", "dep:async-stream"]
sqlite = ["dep:rusqlite", "dep:tokio-rusqlite"]
sqlite = ["dep:rusqlite", "dep:tokio-rusqlite", "dep:arrow-schema"]
duckdb = ["dep:duckdb", "dep:r2d2", "dep:uuid", "dep:dyn-clone", "dep:async-stream", "dep:arrow-schema"]
flight = [
"dep:arrow-array",
Expand Down
1 change: 1 addition & 0 deletions src/util/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use std::sync::Arc;
use super::handle_invalid_type_error;
use crate::sql::db_connection_pool::dbconnection::Error as DbConnectionError;
use crate::InvalidTypeAction;
#[cfg(any(feature = "sqlite", feature = "duckdb"))]
use arrow_schema::{DataType, Field, SchemaBuilder};
use datafusion::arrow::datatypes::SchemaRef;

Expand Down

0 comments on commit aced38c

Please sign in to comment.