From fc394f699583f8522f0d6dcdd6ed4e173a58361f Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 15 Nov 2022 12:01:17 +1100 Subject: [PATCH] Document the MSRV when zeroize feature is enabled Enabling the `zeroize` raises the MSRV to 1.51 Add documentation to the README and also to the manifest. --- Cargo.toml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a322787..50c8174 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,6 +46,7 @@ rand_core = "0.4.0" unicode-normalization = { version = "=0.1.9", optional = true } rand = { version = "0.6.0", optional = true } serde = { version = "1.0", default-features = false, optional = true } +# Enabling this feature raises the MSRV to 1.51 zeroize = {version = "1.5", features = ["zeroize_derive"], optional = true} [dev-dependencies] diff --git a/README.md b/README.md index 57d978a..be035fc 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,4 @@ Use the `all-languages` feature to enable all languages. This crate supports Rust v1.29 and up and works with `no_std`. +If you enable the `zeroize` feature the MSRV becomes 1.51