Skip to content

Commit

Permalink
zeroize v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-iqlusion committed Jun 4, 2019
1 parent e943be1 commit fb51046
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 14 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion secrecy/Cargo.toml
Expand Up @@ -21,4 +21,4 @@ travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }

[dependencies]
serde = { version = "1", optional = true }
zeroize = { version = "0.8", path = "../zeroize", default-features = false }
zeroize = { version = "0.9", path = "../zeroize", default-features = false }
2 changes: 1 addition & 1 deletion subtle-encoding/Cargo.toml
Expand Up @@ -19,7 +19,7 @@ keywords = ["base64", "bech32", "constant-time", "hex", "security"]
[dependencies]
failure = { version = "0.1", default-features = false }
failure_derive = "0.1"
zeroize = { version = "0.8", default-features = false, optional = true, path = "../zeroize" }
zeroize = { version = "0.9", default-features = false, optional = true, path = "../zeroize" }

[features]
default = ["base64", "hex", "std"]
Expand Down
18 changes: 18 additions & 0 deletions zeroize/CHANGES.md
@@ -1,3 +1,16 @@
## [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
now explicitly add a `#[zeroize(drop)]` attribute on the type for which you
are deriving `Zeroize`.

- Remove scary language about undefined behavior ([#214])
- Bound blanket array impls on `Zeroize` instead of `DefaultIsZeroes` ([#213])
- Require `zeroize(drop)` or `zeroize(no_drop)` attributes when deriving
`Zeroize` ([#212]).
- Support stablized 'alloc' crate ([#192])

## [0.8.0] (2019-05-20)

- Impl `Drop` by default when deriving `Zeroize` ([#188])
Expand Down Expand Up @@ -64,6 +77,11 @@ a pure Rust solution.

- Initial release

[0.9.0]: https://github.com/iqlusioninc/crates/pull/215
[#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
Expand Down
4 changes: 2 additions & 2 deletions zeroize/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ description = """
Uses a portable pure Rust implementation that works everywhere,
even WASM!
"""
version = "0.8.0" # Also update html_root_url in lib.rs when bumping this
version = "0.9.0" # Also update html_root_url in lib.rs when bumping this
authors = ["Tony Arcieri <tony@iqlusion.io>"]
license = "Apache-2.0 OR MIT"
edition = "2018"
Expand All @@ -21,7 +21,7 @@ keywords = ["memory", "memset", "secure", "volatile", "zero"]
travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }

[dependencies]
zeroize_derive = { version = "0.8", path = "../zeroize_derive", optional = true }
zeroize_derive = { version = "0.9", path = "../zeroize_derive", optional = true }

[features]
default = ["std", "zeroize_derive"]
Expand Down
5 changes: 1 addition & 4 deletions zeroize/src/lib.rs
Expand Up @@ -197,9 +197,6 @@
//! [Ordering::SeqCst]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.SeqCst
//! [compiler_fence]: https://doc.rust-lang.org/stable/core/sync/atomic/fn.compiler_fence.html
//! [fence]: https://doc.rust-lang.org/stable/core/sync/atomic/fn.fence.html
//! [memory-model]: https://github.com/nikomatsakis/rust-memory-model
//! [unordered]: https://llvm.org/docs/Atomics.html#unordered
//! [llvm-atomic]: https://github.com/rust-lang/rust/issues/58599
//! [pin]: https://doc.rust-lang.org/std/pin/struct.Pin.html
//! [good cryptographic hygiene]: https://cryptocoding.net/index.php/Coding_rules#Clean_memory_of_secret_data

Expand All @@ -212,7 +209,7 @@
unused_import_braces,
unused_qualifications
)]
#![doc(html_root_url = "https://docs.rs/zeroize/0.7.0")]
#![doc(html_root_url = "https://docs.rs/zeroize/0.9.0")]

#[cfg(all(feature = "alloc", not(feature = "std")))]
#[allow(unused_imports)] // rustc bug?
Expand Down
2 changes: 1 addition & 1 deletion zeroize_derive/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "zeroize_derive"
description = "Custom derive support for zeroize"
version = "0.8.0"
version = "0.9.0"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
license = "Apache-2.0 OR MIT"
edition = "2018"
Expand Down

0 comments on commit fb51046

Please sign in to comment.