diff --git a/fern/products/sdks/overview/rust/changelog/2026-03-20.mdx b/fern/products/sdks/overview/rust/changelog/2026-03-20.mdx index 1fbf383398..32c8c08cdd 100644 --- a/fern/products/sdks/overview/rust/changelog/2026-03-20.mdx +++ b/fern/products/sdks/overview/rust/changelog/2026-03-20.mdx @@ -1,3 +1,12 @@ +## 0.22.1 +**`(fix):`** Fix double-pin compilation error in `SseStream` timeout implementation. The `deadline` +field was declared as `Pin>` with a `#[pin]` attribute, causing +`pin_project` to produce `Pin<&mut Pin>>` which lacks `reset()` and `poll()` +methods. Changed the field type to `tokio::time::Sleep` (unpinned, letting `pin_project` +handle pinning) so the projected type is `Pin<&mut Sleep>` which correctly exposes +the required methods. + + ## 0.22.0 **`(feat):`** Add per-event timeout to SSE stream methods. The `SseStream` now accepts a timeout duration and yields `ApiError::StreamTimeout` if no event is received within that