Skip to content

Commit

Permalink
zeroize v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-iqlusion committed Oct 13, 2019
1 parent 245bef3 commit 1d85bf4
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 27 deletions.
12 changes: 6 additions & 6 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 hkd32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ optional = true
path = "../subtle-encoding"

[dependencies.zeroize]
version = "1.0.0-pre"
version = "1"
default-features = false
features = ["zeroize_derive"]
path = "../zeroize"
Expand Down
4 changes: 2 additions & 2 deletions secrecy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ maintenance = { status = "passively-maintained" }

[dependencies]
serde = { version = "1", optional = true }
zeroize = { version = "1.0.0-pre", path = "../zeroize", default-features = false }
zeroize = { version = "1.0.0", path = "../zeroize", default-features = false }
bytes_crate = { package = "bytes", version = "0.4", features = ["serde"], optional = true }

[features]
default = ["alloc"]
alloc = ["zeroize/alloc"]
bytes = ["bytes_crate", "zeroize/bytes"]
bytes = ["bytes_crate", "zeroize/bytes-preview"]

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion subtle-encoding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ categories = ["cryptography", "encoding", "no-std"]
keywords = ["base64", "bech32", "constant-time", "hex", "security"]

[dependencies.zeroize]
version = "1.0.0-pre"
version = "1"
optional = true
default-features = false
path = "../zeroize"
Expand Down
13 changes: 13 additions & 0 deletions zeroize/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.0.0] (2019-10-13)

- Initial 1.0 release 🎉
- zeroize_derive: Remove legacy `no_drop` attribute support ([#278])
- Rename `bytes` feature to `bytes-preview` ([#277])
- Further relax `Zeroize` trait bounds for `Vec` ([#276])
- Derive `Clone`, `Debug`, and `Eq` for `Zeroizing` ([#275])

## [1.0.0-pre] (2019-09-30)

- Loosen `Vec` trait bounds for `Zeroize` ([#267])
Expand Down Expand Up @@ -108,6 +116,11 @@ a pure Rust solution.

- Initial release

[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
Expand Down
24 changes: 12 additions & 12 deletions zeroize/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "zeroize"
description = """
Securely clear secrets from memory with a simple trait built on
stable Rust primitives which guarantee memory is zeroed using an
operation will not be 'optimized away' by the compiler.
Uses a portable pure Rust implementation that works everywhere,
even WASM!
"""
version = "1.0.0-pre" # Also update html_root_url in lib.rs when bumping this
Securely clear secrets from memory with a simple trait built on
stable Rust primitives which guarantee memory is zeroed using an
operation will not be 'optimized away' by the compiler.
Uses a portable pure Rust implementation that works everywhere,
even WASM!
"""
version = "1.0.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 @@ -17,17 +17,17 @@ readme = "README.md"
categories = ["cryptography", "memory-management", "no-std", "os"]
keywords = ["memory", "memset", "secure", "volatile", "zero"]

[package.metadata.docs.rs]
all-features = true

[badges]
maintenance = { status = "actively-developed" }
maintenance = { status = "passively-maintained" }

[dependencies]
zeroize_derive = { version = "1.0.0-pre", path = "../zeroize_derive", optional = true }
zeroize_derive = { version = "1.0.0", path = "../zeroize_derive", optional = true }
bytes = { version = "0.4", optional = true }

[features]
default = ["alloc"]
alloc = []
bytes-preview = ["bytes"]

[package.metadata.docs.rs]
all-features = true
8 changes: 6 additions & 2 deletions zeroize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ thereof, implemented in pure Rust with no usage of FFI or assembly.
- No functionality besides securely zeroing memory!
- (Optional) Custom derive support for zeroing complex structures

## Requirements
## Minimum Supported Rust Version

- Rust **1.36+**
Requires Rust **1.36** or newer.

In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope
for this crate's SemVer guarantees), however when we do it will be accompanied
with a minor version bump.

## License

Expand Down
8 changes: 8 additions & 0 deletions zeroize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
//! - No functionality besides securely zeroing memory!
//! - (Optional) Custom derive support for zeroing complex structures
//!
//! ## Minimum Supported Rust Version
//!
//! Requires Rust **1.36** or newer.
//!
//! In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope
//! for this crate's SemVer guarantees), however when we do it will be accompanied
//! with a minor version bump.
//!
//! ## Usage
//!
//! ```
Expand Down
5 changes: 5 additions & 0 deletions zeroize_derive/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [1.0.0] (2019-10-13)

- Initial 1.0 release

[1.0.0]: https://github.com/iqlusioninc/crates/pull/279
5 changes: 4 additions & 1 deletion zeroize_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "zeroize_derive"
description = "Custom derive support for zeroize"
version = "1.0.0-pre"
version = "1.0.0"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
license = "Apache-2.0 OR MIT"
edition = "2018"
Expand All @@ -14,6 +14,9 @@ keywords = ["memory", "memset", "secure", "volatile", "zero"]
[lib]
proc-macro = true

[badges]
maintenance = { status = "passively-maintained" }

[dependencies]
proc-macro2 = "1"
quote = "1"
Expand Down
8 changes: 6 additions & 2 deletions zeroize_derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ while avoiding compiler optimizations.
This crate isn't intended to be used directly.
See [zeroize] crate for documentation.

## Requirements
## Minimum Supported Rust Version

- Rust **1.36+**
Requires Rust **1.36** or newer.

In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope
for this crate's SemVer guarantees), however when we do it will be accompanied
with a minor version bump.

## License

Expand Down

0 comments on commit 1d85bf4

Please sign in to comment.