Add low-level-native-tls examples (#2860)

This commit is contained in:
Ethra
2024-09-28 19:30:19 +00:00
committed by GitHub
parent 4d9017af7e
commit 073de8b5a4
4 changed files with 168 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
[package]
name = "example-low-level-native-tls"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
axum = { path = "../../axum" }
futures-util = { version = "0.3", default-features = false }
hyper = { version = "1.0.0", features = ["full"] }
hyper-util = { version = "0.1" }
tokio = { version = "1", features = ["full"] }
tokio-native-tls = "0.3.1"
tower = { version = "0.5.1", features = ["make"] }
tower-service = "0.3.2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }