ci: remove OpenSSL as dependency in favor of rustls (#2242)

`object_store` already hard codes `rustls` as the TLS implementation, so
we have been shipping a mix of `rustls` and `openssl`. For simplicity of
builds, we should consolidate to one, and that has to be `rustls`.
This commit is contained in:
Will Jones
2025-03-20 08:06:45 -07:00
committed by GitHub
parent b9afd9c860
commit 440a466a13
6 changed files with 187 additions and 245 deletions

View File

@@ -65,7 +65,7 @@ http = { version = "1", optional = true } # Matching what is in reqwest
uuid = { version = "1.7.0", features = ["v4"], optional = true }
polars-arrow = { version = ">=0.37,<0.40.0", optional = true }
polars = { version = ">=0.37,<0.40.0", optional = true }
hf-hub = { version = "0.3.2", optional = true }
hf-hub = { version = "0.4.1", optional = true, default-features = false, features = ["rustls-tls", "tokio", "ureq"]}
candle-core = { version = "0.6.0", optional = true }
candle-transformers = { version = "0.6.0", optional = true }
candle-nn = { version = "0.6.0", optional = true }
@@ -74,6 +74,7 @@ semver = { workspace = true }
# For a workaround, see workspace Cargo.toml
crunchy.workspace = true
bytemuck_derive.workspace = true
[dev-dependencies]
tempfile = "3.5.0"
@@ -92,7 +93,7 @@ rstest = "0.23.0"
[features]
default = ["default-tls"]
default = []
remote = ["dep:reqwest", "dep:http", "dep:rand", "dep:uuid"]
fp16kernels = ["lance-linalg/fp16kernels"]
s3-test = []
@@ -107,11 +108,6 @@ sentence-transformers = [
"dep:tokenizers",
]
# TLS
default-tls = ["reqwest?/default-tls"]
native-tls = ["reqwest?/native-tls"]
rustls-tls = ["reqwest?/rustls-tls"]
[[example]]
name = "openai"
required-features = ["openai"]