feat: allow TLS feature flags to affect fetch-models too

This commit is contained in:
Carson M.
2025-09-14 14:35:25 -05:00
parent 3cfb60f1d8
commit 244e91b2cb

View File

@@ -63,10 +63,10 @@ download-binaries = [ "ort-sys/download-binaries" ]
load-dynamic = [ "std", "libloading", "ort-sys/load-dynamic" ]
copy-dylibs = [ "ort-sys/copy-dylibs" ]
tls-rustls = [ "ort-sys/tls-rustls" ]
tls-rustls-no-provider = [ "ort-sys/tls-rustls-no-provider" ]
tls-native = [ "ort-sys/tls-native" ]
tls-native-vendored = [ "ort-sys/tls-native-vendored" ]
tls-rustls = [ "ort-sys/tls-rustls", "ureq?/rustls" ]
tls-rustls-no-provider = [ "ort-sys/tls-rustls-no-provider", "ureq?/rustls-no-provider" ]
tls-native = [ "ort-sys/tls-native", "ureq?/native-tls" ]
tls-native-vendored = [ "ort-sys/tls-native-vendored", "ureq?/native-tls", "ureq?/vendored" ]
alternative-backend = [ "ort-sys/disable-linking" ]
@@ -97,7 +97,7 @@ smallvec = { version = "=2.0.0-alpha.10", default-features = false }
ndarray = { version = "0.16", default-features = false, optional = true }
libloading = { version = "0.8", optional = true }
ureq = { version = "3", optional = true, default-features = false, features = [ "rustls" ] }
ureq = { version = "3", optional = true, default-features = false }
sha2 = { version = "0.10", optional = true }
tracing = { version = "0.1", optional = true, default-features = false }
half = { version = "2.1", default-features = false, optional = true }