Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 946 Bytes

File metadata and controls

31 lines (22 loc) · 946 Bytes

Changelog

All notable changes to this library will be documented in this file.

The format is based on Keep a Changelog, and this library adheres to Rust's notion of Semantic Versioning.

0.12.0

Added

  • bincode feature flag to enable the use of bincode-2.0.0.

Changed

  • NonEmpty::capacity returns NonZeroUsize
  • Fixed the nonempty! macro to use the vec! macro internally, ensuring that it compiles with std and no_std.

0.11.0

Added

  • std feature flag; building with --no-default-features now enables no_std use.
  • NonEmpty::sort was added.
  • NonEmpty::as_ref added for converting a &NonEmpty to NonEmpty<&T>.

Changed

  • MSRV is now 1.56 (this is a semver-breaking change).
  • NonEmpty::split now returns Option<&T> for last element.
  • cargo clippy and cargo doc failures are fixed.

[Unreleased]