v0.3.0 #41
tisonkun
announced in
Announcements
v0.3.0
#41
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v0.3.0 (2026-01-31)
Breaking Changes
Exn::from_iterhas been renamed toExn::raise_allexn::Errortrait bound has been removed in favor of inlinedStdError + Send + Sync + 'staticbounds.err.raise()has been moved to theexn::ErrorExtextension trait.Exn::error(&self)has been replaced withimpl Deref<Target = E> for Exn<E>.New Features
Exn<E>now implementsDeref<Target = E>, allowing for more ergonomic access to the inner error.no_stdcompatible, while thealloccrate is still required for heap allocations. It is worth noting thatno_stdsupport is a nice-to-have feature, and can be dropped if it blocks other important features in the future. Before 1.0, onceexnAPIs settle down, the decision on whether to keepno_stdas a promise will be finalized.Framenow implementsstd::error::Error.Exn<E>intoBox<dyn std::error::Error>.What's Changed (Detailed Pull Requests)
New Contributors
Full Changelog: v0.2.1...v0.3.0
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions