mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-22 10:23:18 +01:00
chore(actix-settings): prepare release 0.7.1
This commit is contained in:
parent
11046d7663
commit
31540f8e4b
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-settings"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
authors = [
|
||||
"Joey Ezechiels <joey.ezechiels@gmail.com>",
|
||||
"Rob Ede <robjtede@icloud.com>",
|
||||
|
@ -3,9 +3,9 @@
|
||||
> Easily manage Actix Web's settings from a TOML file and environment variables.
|
||||
|
||||
[](https://crates.io/crates/actix-settings)
|
||||
[](https://docs.rs/actix-settings/0.7.0)
|
||||
[](https://docs.rs/actix-settings/0.7.1)
|
||||

|
||||
[](https://deps.rs/crate/actix-settings/0.7.0)
|
||||
[](https://deps.rs/crate/actix-settings/0.7.1)
|
||||
|
||||
## Documentation & Resources
|
||||
|
||||
|
@ -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")?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user