Skip to content

0.2.17 release

Latest

Choose a tag to compare

@rodrimati1992 rodrimati1992 released this 17 Aug 04:14
7cdbcd5

This release allows configuring the maximum length of formatted const panics with the CONST_PANIC_MAX_LENGTH environment variable.

Changelog

0.2.17

Changed maximum length of formatted panicking to be configurable using CONST_PANIC_MAX_LENGTH environment variable

Added ArrayString::is_empty method

Removed #[automatically_derived] on generated inherent impls, which triggers a rustc future compatibility warning.

0.2.16

Shrunk the maximum length of panics on 16-bit platforms to 512 bytes to support them.

0.2.15

Fixed triggering òf missing_docs lint in downstream crates by adding docs to items generated by impl_panicfmt macro and PanicFmt derive

0.2.14

Added const_panic::fmt::CoerceReturn trait

Added const_panic::fmt::CoerceReturnOutput type alias

Changed IsPanicFmt::coerce from two inherent methods to one generic inherent method. This improves compile-time error messages when the argument doesn't impl PanicFmt.