1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

chore(actix-settings): prepare release 0.7.1

This commit is contained in:
Rob Ede 2023-11-03 20:30:00 +00:00
parent 11046d7663
commit 31540f8e4b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
4 changed files with 9 additions and 5 deletions

View File

@ -2,6 +2,10 @@
## Unreleased ## Unreleased
## 0.7.1
- Fix doc examples.
## 0.7.0 ## 0.7.0
- The `ApplySettings` trait now includes a type parameter, allowing multiple types to be implemented per configuration target. - The `ApplySettings` trait now includes a type parameter, allowing multiple types to be implemented per configuration target.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-settings" name = "actix-settings"
version = "0.7.0" version = "0.7.1"
authors = [ authors = [
"Joey Ezechiels <joey.ezechiels@gmail.com>", "Joey Ezechiels <joey.ezechiels@gmail.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",

View File

@ -3,9 +3,9 @@
> Easily manage Actix Web's settings from a TOML file and environment variables. > 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) [![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) ![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 ## Documentation & Resources

View File

@ -194,7 +194,7 @@ where
/// use actix_settings::{Settings, Mode}; /// use actix_settings::{Settings, Mode};
/// ///
/// # fn inner() -> Result<(), actix_settings::Error> { /// # 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); /// assert_eq!(settings.actix.mode, Mode::Development);
/// ///
/// Settings::override_field(&mut settings.actix.mode, "production")?; /// Settings::override_field(&mut settings.actix.mode, "production")?;
@ -219,7 +219,7 @@ where
/// std::env::set_var("OVERRIDE__MODE", "production"); /// std::env::set_var("OVERRIDE__MODE", "production");
/// ///
/// # fn inner() -> Result<(), actix_settings::Error> { /// # 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); /// assert_eq!(settings.actix.mode, Mode::Development);
/// ///
/// Settings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?; /// Settings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?;