From 9652c787730e58515ce7b44fcafd2430ab424628 Mon Sep 17 00:00:00 2001 From: Marshall Pierce <575695+marshallpierce@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:21:34 -0700 Subject: [PATCH] v0.21.7 --- Cargo.toml | 2 +- RELEASE-NOTES.md | 4 ++++ src/alphabet.rs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 710ed2e..4db5d26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "base64" -version = "0.21.6" +version = "0.21.7" authors = ["Alice Maz ", "Marshall Pierce "] description = "encodes and decodes base64 as bytes or utf8" repository = "https://github.com/marshallpierce/rust-base64" diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index b4ce666..0031215 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,7 @@ +# 0.21.7 + +- Support getting an alphabet's contents as a str via `Alphabet::as_str()` + # 0.21.6 - Improved introductory documentation and example diff --git a/src/alphabet.rs b/src/alphabet.rs index 56c6205..7895914 100644 --- a/src/alphabet.rs +++ b/src/alphabet.rs @@ -1,7 +1,7 @@ //! Provides [Alphabet] and constants for alphabets commonly used in the wild. use crate::PAD_BYTE; -use core::{convert, fmt, primitive::str}; +use core::{convert, fmt}; #[cfg(any(feature = "std", test))] use std::error;