From 993a1dd3730f914f2f5a9da98f93750ffb9d88a2 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 20 Jan 2025 03:01:20 +0000 Subject: [PATCH 1/4] fix(deps): update rust crate chrono to v0.4.39 --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aec23d7..42e8324 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "actix-codec" @@ -428,9 +428,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" dependencies = [ "android-tzdata", "iana-time-zone", From f70f3ab8acd9c8d7210a30c761de1a354bffdd16 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 20 Jan 2025 03:01:26 +0000 Subject: [PATCH 2/4] fix(deps): update rust crate derive_more to v0.99.18 --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aec23d7..274267b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "actix-codec" @@ -559,15 +559,15 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", - "syn 1.0.109", + "syn 2.0.66", ] [[package]] From 0cc19bf98d64831b85ba203c278c5130e27cb3a2 Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 20 Jan 2025 06:04:17 +0300 Subject: [PATCH 3/4] fix unclosed '(' in settings.rs Signed-off-by: ngn --- src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.rs b/src/settings.rs index f2768f4..368ef5d 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -43,7 +43,7 @@ impl Settings { if let Ok(path) = env::var("LIBMEDIUM") { s = s.add_source(File::with_name(&path)); } else if Path::new("./config.toml").exists() { - s = s.add_source(File::with_name("./config.toml"); + s = s.add_source(File::with_name("./config.toml")); } else { log::warn!("configuration file not found"); } From 27665b84363ee9d3b450069bfb4f26d3e1621bdb Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 20 Jan 2025 06:21:34 +0300 Subject: [PATCH 4/4] add actix-files to the cargo.toml Signed-off-by: ngn --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index e877beb..49f1f83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ version = "0.1.0" actix-http = "3.0.4" actix-rt = "2" actix-web = "4.0.1" +actix-files = "0.6.6" bincode = "1.3.3" chrono = "0.4.23" config = "0.13"