mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-13 03:26:40 +00:00
Update outdated dependencies
This commit is contained in:
parent
518d8bfb37
commit
fa0d11566e
3 changed files with 10 additions and 10 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -1918,9 +1918,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde-aux"
|
name = "serde-aux"
|
||||||
version = "3.1.0"
|
version = "4.1.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d0a77223b653fa95f3f9864f3eb25b93e4ed170687eb42d85b6b98af21d5e1de"
|
checksum = "c599b3fd89a75e0c18d6d2be693ddb12cccaf771db4ff9e39097104808a014c0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -2372,9 +2372,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tracing-actix-web"
|
name = "tracing-actix-web"
|
||||||
version = "0.6.2"
|
version = "0.7.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d725b8fa6ef307b3f4856913523337de45c47cc79271bafd7acfb39559e3a2da"
|
checksum = "4082e4d81173e0b7ad3cfb71e9eaef0dd0cbb7b139fdb56394f488a3b0760b23"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-web",
|
"actix-web",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
|
@ -2530,9 +2530,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "validator"
|
name = "validator"
|
||||||
version = "0.15.0"
|
version = "0.16.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f07b0a1390e01c0fc35ebb26b28ced33c9a3808f7f9fbe94d3cc01e233bfeed5"
|
checksum = "32ad5bf234c7d3ad1042e5252b7eddb2c4669ee23f32c7dd0e9b7705f07ef591"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"idna 0.2.3",
|
"idna 0.2.3",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
|
|
@ -26,10 +26,10 @@ tracing = "0.1.19"
|
||||||
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
||||||
tracing-bunyan-formatter = "0.3.1"
|
tracing-bunyan-formatter = "0.3.1"
|
||||||
tracing-log = "0.1.1"
|
tracing-log = "0.1.1"
|
||||||
serde-aux = "3"
|
serde-aux = "4"
|
||||||
unicode-segmentation = "1.7.1"
|
unicode-segmentation = "1.7.1"
|
||||||
validator = "0.15.0"
|
validator = "0.16"
|
||||||
tracing-actix-web = "0.6"
|
tracing-actix-web = "0.7"
|
||||||
secrecy = { version = "0.8", features = ["serde"] }
|
secrecy = { version = "0.8", features = ["serde"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -86,7 +86,7 @@ pub fn get_configuration() -> Result<Settings, config::ConfigError> {
|
||||||
configuration_directory.join("base.yaml"),
|
configuration_directory.join("base.yaml"),
|
||||||
))
|
))
|
||||||
.add_source(config::File::from(
|
.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)
|
// 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`
|
// E.g. `APP_APPLICATION__PORT=5001 would set `Settings.application.port`
|
||||||
|
|
Loading…
Reference in a new issue