Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
2ffd5847
Unverified
Commit
2ffd5847
authored
Jan 28, 2026
by
Graham King
Committed by
GitHub
Jan 28, 2026
Browse files
chore: Remove native-tls / openssl dependency (#5703)
Signed-off-by:
Graham King
<
grahamk@nvidia.com
>
parent
3d62cc7f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
147 deletions
+49
-147
Cargo.lock
Cargo.lock
+3
-112
Cargo.toml
Cargo.toml
+4
-6
lib/async-openai/Cargo.toml
lib/async-openai/Cargo.toml
+17
-29
lib/runtime/examples/Cargo.lock
lib/runtime/examples/Cargo.lock
+25
-0
No files found.
Cargo.lock
View file @
2ffd5847
...
...
@@ -3008,15 +3008,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
[[package]]
name = "foreign-types"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
"foreign-types-shared 0.1.1",
]
[[package]]
name = "foreign-types"
version = "0.5.0"
...
...
@@ -3024,7 +3015,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
dependencies = [
"foreign-types-macros",
"foreign-types-shared
0.3.1
",
"foreign-types-shared",
]
[[package]]
...
...
@@ -3038,12 +3029,6 @@ dependencies = [
"syn 2.0.111",
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "foreign-types-shared"
version = "0.3.1"
...
...
@@ -3947,22 +3932,6 @@ dependencies = [
"tower-service",
]
[[package]]
name = "hyper-tls"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
dependencies = [
"bytes",
"http-body-util",
"hyper 1.8.1",
"hyper-util",
"native-tls",
"tokio",
"tokio-native-tls",
"tower-service",
]
[[package]]
name = "hyper-util"
version = "0.1.18"
...
...
@@ -5111,7 +5080,7 @@ dependencies = [
"bitflags 2.10.0",
"block",
"core-graphics-types",
"foreign-types
0.5.0
",
"foreign-types",
"log",
"objc",
"paste",
...
...
@@ -5126,7 +5095,7 @@ dependencies = [
"bitflags 2.10.0",
"block",
"core-graphics-types",
"foreign-types
0.5.0
",
"foreign-types",
"log",
"objc",
"paste",
...
...
@@ -5567,23 +5536,6 @@ dependencies = [
"typenum",
]
[[package]]
name = "native-tls"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e"
dependencies = [
"libc",
"log",
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework 2.11.1",
"security-framework-sys",
"tempfile",
]
[[package]]
name = "ndarray"
version = "0.16.1"
...
...
@@ -6282,60 +6234,12 @@ dependencies = [
"thiserror 2.0.17",
]
[[package]]
name = "openssl"
version = "0.10.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328"
dependencies = [
"bitflags 2.10.0",
"cfg-if 1.0.4",
"foreign-types 0.3.2",
"libc",
"once_cell",
"openssl-macros",
"openssl-sys",
]
[[package]]
name = "openssl-macros"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.111",
]
[[package]]
name = "openssl-probe"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
[[package]]
name = "openssl-src"
version = "300.5.4+3.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a507b3792995dae9b0df8a1c1e3771e8418b7c2d9f0baeba32e6fe8b06c7cb72"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.111"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
[[package]]
name = "opentelemetry"
version = "0.31.0"
...
...
@@ -7588,13 +7492,11 @@ dependencies = [
"http-body-util",
"hyper 1.8.1",
"hyper-rustls",
"hyper-tls",
"hyper-util",
"js-sys",
"log",
"mime",
"mime_guess",
"native-tls",
"percent-encoding",
"pin-project-lite",
"quinn",
...
...
@@ -7606,7 +7508,6 @@ dependencies = [
"serde_urlencoded",
"sync_wrapper 1.0.2",
"tokio",
"tokio-native-tls",
"tokio-rustls",
"tokio-util",
"tower 0.5.2",
...
...
@@ -9438,16 +9339,6 @@ dependencies = [
"syn 2.0.111",
]
[[package]]
name = "tokio-native-tls"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
dependencies = [
"native-tls",
"tokio",
]
[[package]]
name = "tokio-rayon"
version = "2.1.0"
...
...
Cargo.toml
View file @
2ffd5847
...
...
@@ -49,10 +49,7 @@ dynamo-llm = { path = "lib/llm", version = "0.9.0" }
dynamo-config
=
{
path
=
"lib/config"
,
version
=
"0.9.0"
}
dynamo-tokens
=
{
path
=
"lib/tokens"
,
version
=
"0.9.0"
}
dynamo-kv-router
=
{
path
=
"lib/kv-router"
,
version
=
"0.9.0"
,
features
=
["metrics"]
}
dynamo-async-openai
=
{
path
=
"lib/async-openai"
,
version
=
"0.9.0"
,
features
=
[
"byot"
,
"rustls"
,
]
}
dynamo-async-openai
=
{
path
=
"lib/async-openai"
,
version
=
"0.9.0"
,
features
=
["byot"]
}
dynamo-parsers
=
{
path
=
"lib/parsers"
,
version
=
"0.9.0"
}
# External dependencies
...
...
@@ -99,7 +96,8 @@ reqwest = { version = "0.12.24", default-features = false, features = [
"rustls-tls"
,
]
}
rmp-serde
=
{
version
=
"1"
}
serde
=
{
version
=
"1"
,
features
=
["derive"]
}
# "rc" is for async-openai. Allows serializing Rc and Arc. Generally avoid doing that.
serde
=
{
version
=
"1"
,
features
=
[
"derive"
,
"rc"
]
}
serde_json
=
{
version
=
"1"
}
strum
=
{
version
=
"0.27"
,
features
=
["derive"]
}
tempfile
=
"3"
...
...
@@ -108,7 +106,7 @@ tmq = { version = "0.5.0" }
zmq
=
{
version
=
"0.10"
}
tokio
=
{
version
=
"1"
,
features
=
["full"]
}
tokio-stream
=
{
version
=
"0.1"
}
tokio-util
=
{
version
=
"0.7"
,
features
=
[
"codec"
,
"net"
,
"rt"
]
}
tokio-util
=
{
version
=
"0.7"
,
features
=
[
"codec"
,
"net"
,
"rt"
,
"io-util"
]
}
tower-http
=
{
version
=
"0.6"
,
features
=
["trace"]
}
axum
=
{
version
=
"=0.8.4"
,
features
=
["macros"]
}
axum-core
=
{
version
=
"0.5.2"
}
...
...
lib/async-openai/Cargo.toml
View file @
2ffd5847
...
...
@@ -20,50 +20,38 @@ repository.workspace = true
readme.workspace
=
true
[features]
default
=
["rustls"]
# Enable rustls for TLS support
rustls
=
["reqwest/rustls-tls-native-roots"]
# Enable rustls and webpki-roots
rustls-webpki-roots
=
["reqwest/rustls-tls-webpki-roots"]
# Enable native-tls for TLS support
native-tls
=
["reqwest/native-tls"]
# Remove dependency on OpenSSL
native-tls-vendored
=
["reqwest/native-tls-vendored"]
realtime
=
["dep:tokio-tungstenite"]
# Bring your own types
byot
=
[]
[dependencies]
futures
=
{
workspace
=
true
}
rand
=
{
workspace
=
true
}
reqwest
=
{
workspace
=
true
}
serde
=
{
workspace
=
true
}
serde_json
=
{
workspace
=
true
}
thiserror
=
{
workspace
=
true
}
tokio
=
{
workspace
=
true
}
tokio-stream
=
{
workspace
=
true
}
tokio-util
=
{
workspace
=
true
}
tracing
=
{
workspace
=
true
}
url
=
{
workspace
=
true
}
uuid
=
{
workspace
=
true
}
derive_builder
=
{
workspace
=
true
}
bytes
=
{
workspace
=
true
}
eventsource-stream
=
"0.2.3"
async-openai-macros
=
"0.1.0"
backoff
=
{
version
=
"0.4.0"
,
features
=
["tokio"]
}
base64
=
"0.22.1"
futures
=
"0.3.31"
rand
=
"0.9.0"
reqwest
=
{
version
=
"0.12.24"
,
features
=
[
"json"
,
"stream"
,
"multipart"
,
],
default-features
=
false
}
reqwest-eventsource
=
"0.6.0"
serde
=
{
version
=
"1.0.217"
,
features
=
[
"derive"
,
"rc"
]
}
serde_json
=
"1.0.135"
thiserror
=
"2.0.11"
tokio
=
{
version
=
"1.43.0"
,
features
=
[
"fs"
,
"macros"
]
}
tokio-stream
=
"0.1.17"
tokio-util
=
{
version
=
"0.7.13"
,
features
=
[
"codec"
,
"io-util"
]
}
tracing
=
"0.1.41"
url
=
{
workspace
=
true
}
uuid
=
{
workspace
=
true
}
derive_builder
=
"0.20.2"
secrecy
=
{
version
=
"0.10.3"
,
features
=
["serde"]
}
bytes
=
"1.9.0"
eventsource-stream
=
"0.2.3"
tokio-tungstenite
=
{
version
=
"0.26.1"
,
optional
=
true
,
default-features
=
false
}
utoipa
=
{
version
=
"5.3"
,
features
=
[
"url"
,
"uuid"
]
}
[dev-dependencies]
tokio-test
=
"0.4.4"
serde_json
=
"1.0"
serde_json
=
{
workspace
=
true
}
[[test]]
name
=
"bring-your-own-type"
...
...
lib/runtime/examples/Cargo.lock
View file @
2ffd5847
...
...
@@ -912,6 +912,7 @@ dependencies = [
"libc",
"local-ip-address",
"log",
"lru",
"nid",
"nix",
"notify",
...
...
@@ -932,6 +933,7 @@ dependencies = [
"serde_json",
"socket2 0.5.9",
"thiserror 2.0.17",
"tmq",
"tokio",
"tokio-rayon",
"tokio-stream",
...
...
@@ -945,6 +947,7 @@ dependencies = [
"uuid",
"validator",
"xxhash-rust",
"zmq",
]
[[package]]
...
...
@@ -2074,6 +2077,15 @@ version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "lru"
version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
dependencies = [
"hashbrown 0.15.2",
]
[[package]]
name = "lru-slab"
version = "0.1.2"
...
...
@@ -3791,6 +3803,19 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tmq"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3f41ac3a42f65436eed7e1afe80dbe8a982dcac2ea4581bf61bc2d3dcfb19a1"
dependencies = [
"futures",
"log",
"thiserror 1.0.69",
"tokio",
"zmq",
]
[[package]]
name = "tokio"
version = "1.44.2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment