We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd53967 commit 2f4d0e8Copy full SHA for 2f4d0e8
1 file changed
fern/products/sdks/overview/rust/changelog/2026-03-20.mdx
@@ -1,3 +1,12 @@
1
+## 0.22.1
2
+**`(fix):`** Fix double-pin compilation error in `SseStream` timeout implementation. The `deadline`
3
+field was declared as `Pin<Box<tokio::time::Sleep>>` with a `#[pin]` attribute, causing
4
+`pin_project` to produce `Pin<&mut Pin<Box<Sleep>>>` which lacks `reset()` and `poll()`
5
+methods. Changed the field type to `tokio::time::Sleep` (unpinned, letting `pin_project`
6
+handle pinning) so the projected type is `Pin<&mut Sleep>` which correctly exposes
7
+the required methods.
8
+
9
10
## 0.22.0
11
**`(feat):`** Add per-event timeout to SSE stream methods. The `SseStream` now accepts a timeout
12
duration and yields `ApiError::StreamTimeout` if no event is received within that
0 commit comments