Skip to content

Commit

Permalink
chore: switch back to rustls
Browse files Browse the repository at this point in the history
Using native-tls for serve components is tricky/not possible. Having
native OS for the client side of things might be nice, but having two
TLS stacks in a single application doesn't feel good either.

Removing native-tls drops a number of dependencies, which might be a
good thing too.
  • Loading branch information
ctron committed Dec 13, 2023
1 parent 21dfcb3 commit 3c456b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 131 deletions.
133 changes: 3 additions & 130 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tar = "0.4"
thiserror = "1"
tokio = { version = "1", default-features = false, features = ["full"] }
tokio-stream = { version = "0.1", default-features = false, features = ["fs", "sync"] }
tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
tokio-tungstenite = { version = "0.20", features = ["rustls"] }
toml = "0.8"
tower-http = { version = "0.4", features = ["fs", "trace", "set-header"] }
tracing = "0.1"
Expand Down

0 comments on commit 3c456b9

Please sign in to comment.