From 31540f8e4b10181907efb45429882d402f03dc8a Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 3 Nov 2023 20:30:00 +0000 Subject: [PATCH] chore(actix-settings): prepare release 0.7.1 --- actix-settings/CHANGES.md | 4 ++++ actix-settings/Cargo.toml | 2 +- actix-settings/README.md | 4 ++-- actix-settings/src/lib.rs | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/actix-settings/CHANGES.md b/actix-settings/CHANGES.md index 1b784f7c0..492e44c17 100644 --- a/actix-settings/CHANGES.md +++ b/actix-settings/CHANGES.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.7.1 + +- Fix doc examples. + ## 0.7.0 - The `ApplySettings` trait now includes a type parameter, allowing multiple types to be implemented per configuration target. diff --git a/actix-settings/Cargo.toml b/actix-settings/Cargo.toml index c67a30f6a..7da827e64 100644 --- a/actix-settings/Cargo.toml +++ b/actix-settings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-settings" -version = "0.7.0" +version = "0.7.1" authors = [ "Joey Ezechiels ", "Rob Ede ", diff --git a/actix-settings/README.md b/actix-settings/README.md index efcdca229..cbe71fa90 100644 --- a/actix-settings/README.md +++ b/actix-settings/README.md @@ -3,9 +3,9 @@ > Easily manage Actix Web's settings from a TOML file and environment variables. [![crates.io](https://img.shields.io/crates/v/actix-settings?label=latest)](https://crates.io/crates/actix-settings) -[![Documentation](https://docs.rs/actix-settings/badge.svg?version=0.7.0)](https://docs.rs/actix-settings/0.7.0) +[![Documentation](https://docs.rs/actix-settings/badge.svg?version=0.7.1)](https://docs.rs/actix-settings/0.7.1) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-settings) -[![Dependency Status](https://deps.rs/crate/actix-settings/0.7.0/status.svg)](https://deps.rs/crate/actix-settings/0.7.0) +[![Dependency Status](https://deps.rs/crate/actix-settings/0.7.1/status.svg)](https://deps.rs/crate/actix-settings/0.7.1) ## Documentation & Resources diff --git a/actix-settings/src/lib.rs b/actix-settings/src/lib.rs index 33c46b630..d837759af 100644 --- a/actix-settings/src/lib.rs +++ b/actix-settings/src/lib.rs @@ -194,7 +194,7 @@ where /// use actix_settings::{Settings, Mode}; /// /// # fn inner() -> Result<(), actix_settings::Error> { - /// let mut settings = Settings::from_default_template()?; + /// let mut settings = Settings::from_default_template(); /// assert_eq!(settings.actix.mode, Mode::Development); /// /// Settings::override_field(&mut settings.actix.mode, "production")?; @@ -219,7 +219,7 @@ where /// std::env::set_var("OVERRIDE__MODE", "production"); /// /// # fn inner() -> Result<(), actix_settings::Error> { - /// let mut settings = Settings::from_default_template()?; + /// let mut settings = Settings::from_default_template(); /// assert_eq!(settings.actix.mode, Mode::Development); /// /// Settings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?;