diff --git a/Cargo.lock b/Cargo.lock index 5ae0e1f8..125744d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -156,7 +156,7 @@ dependencies = [ "generic-array", "getrandom", "subtle", - "zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.1.0", ] [[package]] @@ -222,7 +222,7 @@ dependencies = [ "pbkdf2", "sha2", "subtle-encoding 0.5.1", - "zeroize 1.1.0", + "zeroize 1.1.1", ] [[package]] @@ -515,7 +515,7 @@ version = "0.7.0" dependencies = [ "bytes", "serde", - "zeroize 1.1.0", + "zeroize 1.1.1", ] [[package]] @@ -573,7 +573,7 @@ dependencies = [ "sha2", "signature", "subtle-encoding 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.1.0", ] [[package]] @@ -643,7 +643,7 @@ checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" name = "subtle-encoding" version = "0.5.1" dependencies = [ - "zeroize 1.1.0", + "zeroize 1.1.1", ] [[package]] @@ -652,7 +652,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dcb1ed7b8330c5eed5441052651dd7a12c75e2ed88f2ec024ae1fa3a5e59945" dependencies = [ - "zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.1.0", ] [[package]] @@ -685,7 +685,7 @@ dependencies = [ "chrono", "quickcheck", "serde", - "zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 1.1.0", ] [[package]] @@ -789,15 +789,15 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "zeroize" version = "1.1.0" -dependencies = [ - "zeroize_derive", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8" [[package]] name = "zeroize" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8" +version = "1.1.1" +dependencies = [ + "zeroize_derive", +] [[package]] name = "zeroize_derive" diff --git a/zeroize/CHANGES.md b/zeroize/CHANGES.md index 8d1669b7..75a125be 100644 --- a/zeroize/CHANGES.md +++ b/zeroize/CHANGES.md @@ -1,10 +1,24 @@ -## [1.1.0] (2019-12-02) +## 1.1.1 (2020-09-15) + +- Add `doc_cfg`([#505]) +- zeroize entire capacity of `String`([#352]) +- zeroize entire capacity of `Vec` ([#341]) + +[#505]: https://github.com/iqlusioninc/crates/pull/505 +[#352]: https://github.com/iqlusioninc/crates/pull/352 +[#341]: https://github.com/iqlusioninc/crates/pull/341 + +## 1.1.0 (2019-12-02) - Add `TryZeroize` trait ([#307]) - Add `From` impl for `Zeroizing` ([#304]) - Remove `bytes-preview` feature ([#301]) -## [1.0.0] (2019-10-13) +[#307]: https://github.com/iqlusioninc/crates/pull/307 +[#304]: https://github.com/iqlusioninc/crates/pull/304 +[#301]: https://github.com/iqlusioninc/crates/pull/301 + +## 1.0.0 (2019-10-13) - Initial 1.0 release 🎉 - zeroize_derive: Remove legacy `no_drop` attribute support ([#278]) @@ -12,15 +26,25 @@ - Further relax `Zeroize` trait bounds for `Vec` ([#276]) - Derive `Clone`, `Debug`, and `Eq` for `Zeroizing` ([#275]) -## [1.0.0-pre] (2019-09-30) +[#278]: https://github.com/iqlusioninc/crates/pull/278 +[#277]: https://github.com/iqlusioninc/crates/pull/277 +[#276]: https://github.com/iqlusioninc/crates/pull/276 +[#275]: https://github.com/iqlusioninc/crates/pull/275 + +## 1.0.0-pre (2019-09-30) - Loosen `Vec` trait bounds for `Zeroize` ([#267]) -## [0.10.1] (2019-09-03) +[#267]: https://github.com/iqlusioninc/crates/pull/267 + +## 0.10.1 (2019-09-03) - (Optionally) Impl `Zeroize` for `Bytes` and `BytesMut` ([#258], [#259]) -## [0.10.0] (2019-08-19) +[#259]: https://github.com/iqlusioninc/crates/pull/259 +[#258]: https://github.com/iqlusioninc/crates/pull/258 + +## 0.10.0 (2019-08-19) Barring unforeseen circumstances, this release aims to be the last `0.x` release prior to a `zeroize` 1.0 release. @@ -30,19 +54,30 @@ release prior to a `zeroize` 1.0 release. - Deprecate `#[zeroize(no_drop)]` attribute ([#244]) - Use 1.0 `proc-macro2`, `quote`, and `syn` crates ([#242]) -## [0.9.3] (2019-07-27) +[#247]: https://github.com/iqlusioninc/crates/pull/247 +[#246]: https://github.com/iqlusioninc/crates/pull/246 +[#244]: https://github.com/iqlusioninc/crates/pull/244 +[#242]: https://github.com/iqlusioninc/crates/pull/242 + +## 0.9.3 (2019-07-27) - Improved attribute parser; fixes nightly build ([#238]) -## [0.9.2] (2019-06-28) +[#238]: https://github.com/iqlusioninc/crates/pull/238 + +## 0.9.2 (2019-06-28) - README.md: add Gitter badges; update image links ([#221]) -## [0.9.1] (2019-06-04) +[#221]: https://github.com/iqlusioninc/crates/pull/221 + +## 0.9.1 (2019-06-04) - Impl `Zeroize` for `Option` ([#219]) -## [0.9.0] (2019-06-04) +[#219]: https://github.com/iqlusioninc/crates/pull/219 + +## 0.9.0 (2019-06-04) **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 @@ -56,32 +91,53 @@ are deriving `Zeroize`. `Zeroize` ([#212]). - Support stablized 'alloc' crate ([#192]) -## [0.8.0] (2019-05-20) +[#216]: https://github.com/iqlusioninc/crates/pull/216 +[#214]: https://github.com/iqlusioninc/crates/pull/214 +[#213]: https://github.com/iqlusioninc/crates/pull/213 +[#212]: https://github.com/iqlusioninc/crates/pull/212 +[#192]: https://github.com/iqlusioninc/crates/pull/192 + +## 0.8.0 (2019-05-20) - Impl `Drop` by default when deriving `Zeroize` ([#188]) -## [0.7.0] (2019-05-19) +[#188]: https://github.com/iqlusioninc/crates/pull/188 + +## 0.7.0 (2019-05-19) - Use synstructure for custom derive ([#185]) - Add explicit array impls for `DefaultIsZeroes` ([#184]) - Remove `nightly` feature ([#183]) - Add `Zeroizing` to zeroize values on drop ([#182]) -## [0.6.0] (2019-03-23) +[#185]: https://github.com/iqlusioninc/crates/pull/185 +[#184]: https://github.com/iqlusioninc/crates/pull/184 +[#183]: https://github.com/iqlusioninc/crates/pull/183 +[#182]: https://github.com/iqlusioninc/crates/pull/182 + +## 0.6.0 (2019-03-23) - Add ZeroizeOnDrop marker trait + custom derive ([#168]) - Custom derive support for `Zeroize` ([#167]) - Rename `ZeroizeWithDefault` to `DefaultIsZeroes` ([#166]) -## [0.5.2] (2018-12-25) +[#168]: https://github.com/iqlusioninc/crates/pull/168 +[#167]: https://github.com/iqlusioninc/crates/pull/167 +[#166]: https://github.com/iqlusioninc/crates/pull/166 + +## 0.5.2 (2018-12-25) - Add `debug_assert!` to ensure string interiors are zeroized ([#156]) -## [0.5.1] (2018-12-24) +[#156]: https://github.com/iqlusioninc/crates/pull/156 + +## 0.5.1 (2018-12-24) - Avoid re-exporting the whole prelude ([#150]) -## [0.5.0] (2018-12-24) +[#150]: https://github.com/iqlusioninc/crates/pull/150 + +## 0.5.0 (2018-12-24) This release is a rewrite which replaces FFI bindings to OS-specific APIs with a pure Rust solution. @@ -90,93 +146,52 @@ a pure Rust solution. - Test wasm target ([#143]) - Rewrite using `core::ptr::write_volatile` ([#142]) -## [0.4.2] (2018-10-12) +[#146]: https://github.com/iqlusioninc/crates/pull/146 +[#143]: https://github.com/iqlusioninc/crates/pull/143 +[#142]: https://github.com/iqlusioninc/crates/pull/142 + +## 0.4.2 (2018-10-12) - Fix ldd scraper for older glibc versions ([#134]) +[#134]: https://github.com/iqlusioninc/crates/pull/134 + ## 0.4.1 (2018-10-12) - Support musl-libc ([#131]) + +[#131]: https://github.com/iqlusioninc/crates/pull/131 ## 0.4.0 (2018-10-12) - Impl `Zeroize` trait on concrete types ([#108]) +[#108]: https://github.com/iqlusioninc/crates/pull/108 + ## 0.3.0 (2018-10-11) - Replace `secure_zero_memory` with `Zeroize` ([#104]) +[#104]: https://github.com/iqlusioninc/crates/pull/104 + ## 0.2.0 (2018-10-11) - Add `Zeroize` trait ([#101]) +[#101]: https://github.com/iqlusioninc/crates/pull/101 + ## 0.1.2 (2018-10-03) - README.md: Fix intrinsic links ([#86]) +[#86]: https://github.com/iqlusioninc/crates/pull/86 + ## 0.1.1 (2018-10-03) - Documentation improvements ([#83]) +[#83]: https://github.com/iqlusioninc/crates/pull/83 + ## 0.1.0 (2018-10-03) - Initial release - -[1.1.0]: https://github.com/iqlusioninc/crates/pull/308 -[#307]: https://github.com/iqlusioninc/crates/pull/307 -[#304]: https://github.com/iqlusioninc/crates/pull/304 -[#301]: https://github.com/iqlusioninc/crates/pull/301 -[1.0.0]: https://github.com/iqlusioninc/crates/pull/279 -[#278]: https://github.com/iqlusioninc/crates/pull/278 -[#277]: https://github.com/iqlusioninc/crates/pull/277 -[#276]: https://github.com/iqlusioninc/crates/pull/276 -[#275]: https://github.com/iqlusioninc/crates/pull/275 -[1.0.0-pre]: https://github.com/iqlusioninc/crates/pull/268 -[#267]: https://github.com/iqlusioninc/crates/pull/267 -[0.10.1]: https://github.com/iqlusioninc/crates/pull/264 -[#259]: https://github.com/iqlusioninc/crates/pull/259 -[#258]: https://github.com/iqlusioninc/crates/pull/258 -[0.10.0]: https://github.com/iqlusioninc/crates/pull/248 -[#247]: https://github.com/iqlusioninc/crates/pull/247 -[#246]: https://github.com/iqlusioninc/crates/pull/246 -[#244]: https://github.com/iqlusioninc/crates/pull/244 -[#242]: https://github.com/iqlusioninc/crates/pull/242 -[0.9.3]: https://github.com/iqlusioninc/crates/pull/239 -[#238]: https://github.com/iqlusioninc/crates/pull/238 -[0.9.2]: https://github.com/iqlusioninc/crates/pull/224 -[#221]: https://github.com/iqlusioninc/crates/pull/221 -[0.9.1]: https://github.com/iqlusioninc/crates/pull/220 -[#219]: https://github.com/iqlusioninc/crates/pull/219 -[0.9.0]: https://github.com/iqlusioninc/crates/pull/215 -[#216]: https://github.com/iqlusioninc/crates/pull/216 -[#214]: https://github.com/iqlusioninc/crates/pull/214 -[#213]: https://github.com/iqlusioninc/crates/pull/213 -[#212]: https://github.com/iqlusioninc/crates/pull/212 -[#192]: https://github.com/iqlusioninc/crates/pull/192 -[0.8.0]: https://github.com/iqlusioninc/crates/pull/189 -[#188]: https://github.com/iqlusioninc/crates/pull/188 -[0.7.0]: https://github.com/iqlusioninc/crates/pull/186 -[#185]: https://github.com/iqlusioninc/crates/pull/185 -[#184]: https://github.com/iqlusioninc/crates/pull/184 -[#183]: https://github.com/iqlusioninc/crates/pull/183 -[#182]: https://github.com/iqlusioninc/crates/pull/182 -[0.6.0]: https://github.com/iqlusioninc/crates/pull/170 -[#168]: https://github.com/iqlusioninc/crates/pull/168 -[#167]: https://github.com/iqlusioninc/crates/pull/167 -[#166]: https://github.com/iqlusioninc/crates/pull/166 -[0.5.2]: https://github.com/iqlusioninc/crates/pull/157 -[#156]: https://github.com/iqlusioninc/crates/pull/156 -[0.5.1]: https://github.com/iqlusioninc/crates/pull/151 -[#150]: https://github.com/iqlusioninc/crates/pull/150 -[0.5.0]: https://github.com/iqlusioninc/crates/pull/149 -[#146]: https://github.com/iqlusioninc/crates/pull/146 -[#143]: https://github.com/iqlusioninc/crates/pull/143 -[#142]: https://github.com/iqlusioninc/crates/pull/142 -[0.4.2]: https://github.com/iqlusioninc/crates/pull/136 -[#134]: https://github.com/iqlusioninc/crates/pull/134 -[#131]: https://github.com/iqlusioninc/crates/pull/131 -[#108]: https://github.com/iqlusioninc/crates/pull/108 -[#104]: https://github.com/iqlusioninc/crates/pull/104 -[#101]: https://github.com/iqlusioninc/crates/pull/101 -[#86]: https://github.com/iqlusioninc/crates/pull/86 -[#83]: https://github.com/iqlusioninc/crates/pull/83 diff --git a/zeroize/Cargo.toml b/zeroize/Cargo.toml index 5964d86a..b0c0c512 100644 --- a/zeroize/Cargo.toml +++ b/zeroize/Cargo.toml @@ -7,7 +7,7 @@ operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, even WASM! """ -version = "1.1.0" # Also update html_root_url in lib.rs when bumping this +version = "1.1.1" # Also update html_root_url in lib.rs when bumping this authors = ["Tony Arcieri "] license = "Apache-2.0 OR MIT" edition = "2018" @@ -21,7 +21,7 @@ keywords = ["memory", "memset", "secure", "volatile", "zero"] maintenance = { status = "passively-maintained" } [dependencies] -zeroize_derive = { version = "1.0.0", path = "derive", optional = true } +zeroize_derive = { version = "1", path = "derive", optional = true } [features] default = ["alloc"] diff --git a/zeroize/src/lib.rs b/zeroize/src/lib.rs index d9eb5771..c020bb45 100644 --- a/zeroize/src/lib.rs +++ b/zeroize/src/lib.rs @@ -208,7 +208,7 @@ #![no_std] #![cfg_attr(docsrs, feature(doc_cfg))] -#![doc(html_root_url = "https://docs.rs/zeroize/1.1.0")] +#![doc(html_root_url = "https://docs.rs/zeroize/1.1.1")] #![warn(missing_docs, rust_2018_idioms, trivial_casts, unused_qualifications)] #[cfg(feature = "alloc")]