All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
serde support (#780)tests/ (#771)ZeroizeOnDrop on DerefMut (#739)AssertZeroizeOnDrop (#725)mut on AssertZeroizeOnDrop (#719)Zeroize impls for PhantomData, PhantomPinned, and tuples with 0-10 elements (#660)#[zeroize(bound = "T: MyTrait")] (#663)ZeroizeOnDrop trait and custom derive (#699, #700, #703)Zeroize for NonZeroXRustCrypto/utils repositoryDefault on Zeroizing[MaybeUninit<Z>]NOTE: This release includes an MSRV bump to Rust 1.51. Please use zeroize = "1.3.0" if you would like to support older Rust versions.
Zeroize for [Z; N]; MSRV 1.51Zeroizing::clone_from now zeroizes the destination before cloningZeroize for Box<[Z]>Option is None when zeroizedZeroize support for x86(_64) SIMD registersString::zeroizedoc_cfgStringVecTryZeroize traitFrom<Z: Zeroize> impl for Zeroizing<Z>bytes-preview featureno_drop attribute supportbytes feature to bytes-previewZeroize trait bounds for VecClone, Debug, and Eq for ZeroizingVec trait bounds for ZeroizeZeroize for Bytes and BytesMutBarring unforeseen circumstances, this release aims to be the last 0.x release prior to a zeroize 1.0 release.
zeroize_derive Cargo feature by defaultstd feature in favor of alloc; MSRV 1.36+#[zeroize(no_drop)] attributeproc-macro2, quote, and syn cratesZeroize for Option<Z: Zeroize>NOTICE: This release changes the default behavior of derive(Zeroize) to no longer derive a Drop impl. If you wish to derive Drop, you must now explicitly add a #[zeroize(drop)] attribute on the type for which you are deriving Zeroize.
Zeroize instead of DefaultIsZeroeszeroize(drop) or zeroize(no_drop) attributes when deriving Zeroize .Drop by default when deriving ZeroizeDefaultIsZeroesnightly featureZeroizing<Z> to zeroize values on dropZeroizeZeroizeWithDefault to DefaultIsZeroesdebug_assert! to ensure string interiors are zeroizedThis release is a rewrite which replaces FFI bindings to OS-specific APIs with a pure Rust solution.
core::sync::atomic fencescore::ptr::write_volatileZeroize trait on concrete typessecure_zero_memory with ZeroizeZeroize trait