Skip to content

Commit 9b54252

Browse files
committed
fixup! Add native TLS support with tokio-rustls
1 parent 25da6a2 commit 9b54252

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

axum/Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,45 +95,45 @@ __private = ["tokio", "http1", "dep:reqwest"]
9595

9696
[dependencies]
9797
axum-core = { path = "../axum-core", version = "0.5.5" }
98+
99+
# optional dependencies
100+
axum-macros = { path = "../axum-macros", version = "0.5.0", optional = true }
101+
base64 = { version = "0.22.1", optional = true }
98102
bytes = "1.7"
103+
form_urlencoded = { version = "1.1.0", optional = true }
99104
futures-core = "0.3"
105+
futures-sink = { version = "0.3", optional = true }
100106
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
101107
http = "1.0.0"
102108
http-body = "1.0.0"
103109
http-body-util = "0.1.0"
110+
hyper = { version = "1.1.0", optional = true }
111+
hyper-util = { version = "0.1.3", features = ["tokio", "server", "service"], optional = true }
104112
itoa = "1.0.5"
105113
matchit = "=0.8.4"
106114
memchr = "2.4.1"
107115
mime = "0.3.16"
116+
multer = { version = "3.0.0", optional = true }
108117
percent-encoding = "2.1"
109118
pin-project-lite = "0.2.7"
110-
serde_core = "1.0.221"
111-
sync_wrapper = "1.0.0"
112-
tower = { version = "0.5.2", default-features = false, features = ["util"] }
113-
tower-layer = "0.3.2"
114-
tower-service = "0.3"
115-
116-
# optional dependencies
117-
axum-macros = { path = "../axum-macros", version = "0.5.0", optional = true }
118-
base64 = { version = "0.22.1", optional = true }
119-
form_urlencoded = { version = "1.1.0", optional = true }
120-
futures-sink = { version = "0.3", optional = true }
121-
hyper = { version = "1.1.0", optional = true }
122-
hyper-util = { version = "0.1.3", features = ["tokio", "server", "service"], optional = true }
123-
multer = { version = "3.0.0", optional = true }
124119
reqwest = { version = "0.12", optional = true, default-features = false, features = ["json", "stream", "multipart"] }
120+
121+
# doc dependencies
122+
serde = { version = "1.0.211", optional = true }
123+
serde_core = "1.0.221"
125124
serde_json = { version = "1.0", features = ["raw_value"], optional = true }
126125
serde_path_to_error = { version = "0.1.8", optional = true }
127126
serde_urlencoded = { version = "0.7", optional = true }
128127
sha1 = { version = "0.10", optional = true }
128+
sync_wrapper = "1.0.0"
129129
tokio = { package = "tokio", version = "1.44", features = ["time"], optional = true }
130-
tokio-rustls = {version = "0.26", optional = true, default-features = false }
130+
tokio-rustls = { version = "0.26", optional = true, default-features = false }
131131
tokio-tungstenite = { version = "0.28.0", optional = true }
132+
tower = { version = "0.5.2", default-features = false, features = ["util"] }
133+
tower-layer = "0.3.2"
134+
tower-service = "0.3"
132135
tracing = { version = "0.1", default-features = false, optional = true }
133136

134-
# doc dependencies
135-
serde = { version = "1.0.211", optional = true }
136-
137137
[dependencies.tower-http]
138138
version = "0.6.0"
139139
optional = true

0 commit comments

Comments
 (0)