Skip to content

Commit 6dfdbdb

Browse files
committed
axum: bump 'bytes' dependency to 1.7
Axum relies on `From<Bytes>` implemented for `BytesMut` in SSE response implementation. The conversion was added in `bytes` 1.7 (https://github.com/tokio-rs/bytes/releases/tag/v1.7.0). So bump the minimum required version.
1 parent d8cd5ce commit 6dfdbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ __private = ["tokio", "http1", "dep:reqwest"]
9595

9696
[dependencies]
9797
axum-core = { path = "../axum-core", version = "0.5.5" }
98-
bytes = "1.0"
98+
bytes = "1.7"
9999
futures-core = "0.3"
100100
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
101101
http = "1.0.0"

0 commit comments

Comments
 (0)