diff --git a/Cargo.lock b/Cargo.lock index e4e2c99..e034130 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1918,9 +1918,9 @@ dependencies = [ [[package]] name = "serde-aux" -version = "3.1.0" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a77223b653fa95f3f9864f3eb25b93e4ed170687eb42d85b6b98af21d5e1de" +checksum = "c599b3fd89a75e0c18d6d2be693ddb12cccaf771db4ff9e39097104808a014c0" dependencies = [ "chrono", "serde", @@ -2372,9 +2372,9 @@ dependencies = [ [[package]] name = "tracing-actix-web" -version = "0.6.2" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d725b8fa6ef307b3f4856913523337de45c47cc79271bafd7acfb39559e3a2da" +checksum = "4082e4d81173e0b7ad3cfb71e9eaef0dd0cbb7b139fdb56394f488a3b0760b23" dependencies = [ "actix-web", "pin-project", @@ -2530,9 +2530,9 @@ dependencies = [ [[package]] name = "validator" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f07b0a1390e01c0fc35ebb26b28ced33c9a3808f7f9fbe94d3cc01e233bfeed5" +checksum = "32ad5bf234c7d3ad1042e5252b7eddb2c4669ee23f32c7dd0e9b7705f07ef591" dependencies = [ "idna 0.2.3", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index ea3a19c..458918a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,10 +26,10 @@ tracing = "0.1.19" tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] } tracing-bunyan-formatter = "0.3.1" tracing-log = "0.1.1" -serde-aux = "3" +serde-aux = "4" unicode-segmentation = "1.7.1" -validator = "0.15.0" -tracing-actix-web = "0.6" +validator = "0.16" +tracing-actix-web = "0.7" secrecy = { version = "0.8", features = ["serde"] } [dev-dependencies] diff --git a/src/configuration.rs b/src/configuration.rs index 89cfca5..6f52c70 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -86,7 +86,7 @@ pub fn get_configuration() -> Result { configuration_directory.join("base.yaml"), )) .add_source(config::File::from( - configuration_directory.join(&environment_filename), + configuration_directory.join(environment_filename), )) // Add in settings from environment variables (with a prefix of APP and '__' as separator) // E.g. `APP_APPLICATION__PORT=5001 would set `Settings.application.port`