Skip to content

Commit 6d8a181

Browse files
committed
zeroize v0.9.0
1 parent 7dc75e1 commit 6d8a181

File tree

7 files changed

+31
-14
lines changed

7 files changed

+31
-14
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

secrecy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }
2121

2222
[dependencies]
2323
serde = { version = "1", optional = true }
24-
zeroize = { version = "0.8", path = "../zeroize", default-features = false }
24+
zeroize = { version = "0.9", path = "../zeroize", default-features = false }

subtle-encoding/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ keywords = ["base64", "bech32", "constant-time", "hex", "security"]
1919
[dependencies]
2020
failure = { version = "0.1", default-features = false }
2121
failure_derive = "0.1"
22-
zeroize = { version = "0.8", default-features = false, optional = true, path = "../zeroize" }
22+
zeroize = { version = "0.9", default-features = false, optional = true, path = "../zeroize" }
2323

2424
[features]
2525
default = ["base64", "hex", "std"]

zeroize/CHANGES.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [0.9.0] (2019-06-04)
2+
3+
**NOTICE**: This release changes the default behavior of `derive(Zeroize)`
4+
to no longer derive a `Drop` impl. If you wish to derive `Drop`, you must
5+
now explicitly add a `#[zeroize(drop)]` attribute on the type for which you
6+
are deriving `Zeroize`.
7+
8+
- Remove CPU fences ([#216])
9+
- Remove scary language about undefined behavior ([#214])
10+
- Bound blanket array impls on `Zeroize` instead of `DefaultIsZeroes` ([#213])
11+
- Require `zeroize(drop)` or `zeroize(no_drop)` attributes when deriving
12+
`Zeroize` ([#212]).
13+
- Support stablized 'alloc' crate ([#192])
14+
115
## [0.8.0] (2019-05-20)
216

317
- Impl `Drop` by default when deriving `Zeroize` ([#188])
@@ -64,6 +78,12 @@ a pure Rust solution.
6478

6579
- Initial release
6680

81+
[0.9.0]: https://github.com/iqlusioninc/crates/pull/215
82+
[#216]: https://github.com/iqlusioninc/crates/pull/216
83+
[#214]: https://github.com/iqlusioninc/crates/pull/214
84+
[#213]: https://github.com/iqlusioninc/crates/pull/213
85+
[#212]: https://github.com/iqlusioninc/crates/pull/212
86+
[#192]: https://github.com/iqlusioninc/crates/pull/192
6787
[0.8.0]: https://github.com/iqlusioninc/crates/pull/189
6888
[#188]: https://github.com/iqlusioninc/crates/pull/188
6989
[0.7.0]: https://github.com/iqlusioninc/crates/pull/186

zeroize/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = """
77
Uses a portable pure Rust implementation that works everywhere,
88
even WASM!
99
"""
10-
version = "0.8.0" # Also update html_root_url in lib.rs when bumping this
10+
version = "0.9.0" # Also update html_root_url in lib.rs when bumping this
1111
authors = ["Tony Arcieri <[email protected]>"]
1212
license = "Apache-2.0 OR MIT"
1313
edition = "2018"
@@ -21,7 +21,7 @@ keywords = ["memory", "memset", "secure", "volatile", "zero"]
2121
travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }
2222

2323
[dependencies]
24-
zeroize_derive = { version = "0.8", path = "../zeroize_derive", optional = true }
24+
zeroize_derive = { version = "0.9", path = "../zeroize_derive", optional = true }
2525

2626
[features]
2727
default = ["std", "zeroize_derive"]

zeroize/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@
192192
//! [core::sync::atomic]: https://doc.rust-lang.org/stable/core/sync/atomic/index.html
193193
//! [Ordering::SeqCst]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.SeqCst
194194
//! [compiler_fence]: https://doc.rust-lang.org/stable/core/sync/atomic/fn.compiler_fence.html
195-
//! [memory-model]: https://github.com/nikomatsakis/rust-memory-model
196-
//! [unordered]: https://llvm.org/docs/Atomics.html#unordered
197-
//! [llvm-atomic]: https://github.com/rust-lang/rust/issues/58599
198195
//! [pin]: https://doc.rust-lang.org/std/pin/struct.Pin.html
199196
//! [good cryptographic hygiene]: https://cryptocoding.net/index.php/Coding_rules#Clean_memory_of_secret_data
200197
@@ -207,7 +204,7 @@
207204
unused_import_braces,
208205
unused_qualifications
209206
)]
210-
#![doc(html_root_url = "https://docs.rs/zeroize/0.7.0")]
207+
#![doc(html_root_url = "https://docs.rs/zeroize/0.9.0")]
211208

212209
#[cfg(all(feature = "alloc", not(feature = "std")))]
213210
#[allow(unused_imports)] // rustc bug?

zeroize_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "zeroize_derive"
33
description = "Custom derive support for zeroize"
4-
version = "0.8.0"
4+
version = "0.9.0"
55
authors = ["Tony Arcieri <[email protected]>"]
66
license = "Apache-2.0 OR MIT"
77
edition = "2018"

0 commit comments

Comments
 (0)