Skip to content

Commit

Permalink
new feature flag for default-engine with rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
zachschuermann committed Dec 6, 2024
1 parent 695b841 commit fd78c01
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ hdfs-native-object-store = { workspace = true, optional = true }
# Used in default and sync engine
parquet = { workspace = true, optional = true }
# Used for fetching direct urls (like pre-signed urls)
reqwest = { version = "0.12.7", optional = true }
reqwest = { version = "0.12.8", default-features = false, optional = true }
strum = { version = "0.26", features = ["derive"] }


Expand All @@ -76,6 +76,9 @@ cloud = [
"hdfs-native-object-store",
]
default = []

# the default-engine use the reqwest crate with default features which uses native-tls. if you want
# to instead use rustls, use 'default-engine-rustls' which has no native-tls dependency
default-engine = [
"arrow-conversion",
"arrow-expression",
Expand All @@ -89,7 +92,29 @@ default-engine = [
"object_store",
"parquet/async",
"parquet/object_store",
"reqwest",
"reqwest/default",
"tokio",
"uuid/v4",
"uuid/fast-rng",
]

default-engine-rustls = [
"arrow-conversion",
"arrow-expression",
"arrow-array",
"arrow-buffer",
"arrow-cast",
"arrow-json",
"arrow-schema",
"arrow-select",
"futures",
"object_store",
"parquet/async",
"parquet/object_store",
"reqwest/rustls-tls",
"reqwest/charset",
"reqwest/http2",
"reqwest/macos-system-configuration",
"tokio",
"uuid/v4",
"uuid/fast-rng",
Expand Down

0 comments on commit fd78c01

Please sign in to comment.