From 86525fe0d116d2dd3e850bc02ecc84d1282d8a72 Mon Sep 17 00:00:00 2001 From: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com> Date: Sun, 11 Dec 2022 18:51:07 +0100 Subject: [PATCH 1/2] fix: Publish `crate::iter::Iter` as `crate::Iter`. --- dotenv/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotenv/src/lib.rs b/dotenv/src/lib.rs index 89156f1..c242acc 100644 --- a/dotenv/src/lib.rs +++ b/dotenv/src/lib.rs @@ -17,7 +17,7 @@ use std::sync::Once; pub use crate::errors::*; use crate::find::Finder; -use crate::iter::Iter; +pub use crate::iter::Iter; static START: Once = Once::new(); From 47aaa3882f4b9f2b1aa77f927904f1b9a094ea77 Mon Sep 17 00:00:00 2001 From: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com> Date: Sun, 11 Dec 2022 23:38:51 +0100 Subject: [PATCH 2/2] task: Add changes to `CHANGELOG.md` --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5b2eb1..156e3f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Minimum Supported Rust Version is now 1.56.1 - Removed internal `dotenv_codegen_impl` crate and `proc_macro_hack` dependency +### Fixed +- Set `dotenvy::Iter` to public, as it is returned from public functions `dotenv_iter`, `from_filename_iter`, `from_path_iter` and `from_read_iter`. ([PR #51](https://github.com/allan2/dotenvy/pull/51) by [LeoniePhiline](https://github.com/LeoniePhiline)) + ## [0.15.6] - 2022-10-17 ### Added