Skip to content

Commit 2f4d0e8

Browse files
Update changelogs from fern repo (#4467)
Co-authored-by: iamnamananand996 <31537362+iamnamananand996@users.noreply.github.com>
1 parent fd53967 commit 2f4d0e8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

fern/products/sdks/overview/rust/changelog/2026-03-20.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
110
## 0.22.0
211
**`(feat):`** Add per-event timeout to SSE stream methods. The `SseStream` now accepts a timeout
312
duration and yields `ApiError::StreamTimeout` if no event is received within that

0 commit comments

Comments
 (0)