Repository navigation
BREAKING
- Make
is_left_and,is_middle_and, andis_right_andconsumeselfand pass their payloads by value. Borrow throughas_ref()when needed. - Change
left_or_elseclosure order toMiddle, thenRight, matchingAmong's variant order. - Remove
From<Either<A, B>> for Among<A, B, C>; retain the named two-way embeddings and complete nestedEitherconversions. - Seal the
AmongErrorExt,AmongOkExt,EitherOkExt, andEitherErrExtextension traits. - Remove the previously implicit public
futures-iofeature. Downstream users must replacefeatures = ["futures-io"]withfeatures = ["futures"];futuresnow impliesstd.
FEATURES
- Add tuple
Extend<Among<_, _, _>>andFromIterator<Among<_, _, _>>implementations for collecting each variant into its own collection. - Add the remaining core formatting trait implementations and
core::fmt::Writeforwarding. - Make
core::error::Erroravailable without thestdfeature. - Add reverse conversions from
Amongto both complete nestedEithershapes. - Add eager
left_and,middle_and, andright_andcombinators plus heterogeneousas_derefandas_deref_mutviews. - Forward stable vectored I/O, buffered skipping, and seek-position methods to the active payload, including futures and Tokio vectored writes.
- Add mapping fallbacks, lazy default insertion, replacement, and single-variant conversion helpers; add
try_left!,try_middle!, andtry_right!early-return macros. - Propagate caller locations through panicking extraction and feature-gated
Eitherconversion methods. - Make
futuresandtokioimplystd, and keep optional dependency features private to the manifest.
CI
- Add fixed-MSRV, bare-metal, strict-documentation, package, and SemVer compatibility gates; make Clippy and coverage wait for release gates.
DOCS
- Document serde helper functions and untagged deserialization order, clarify three-variant wording, and add a release checklist.