Compare commits

..

9 Commits

Author SHA1 Message Date
ngn
445083d613 Merge branch 'custom' into renovate/rust-futures-monorepo 2025-01-20 20:33:16 +03:00
ngn
8617190dd9 Merge pull request 'fix(deps): update rust crate derive_more to v0.99.18' (#2) from renovate/derive_more-0.x-lockfile into custom
All checks were successful
Build and publish the docker image / build (push) Successful in 3m20s
Reviewed-on: #2
2025-01-20 20:28:01 +03:00
ngn
641ed35a2a Merge branch 'custom' into renovate/derive_more-0.x-lockfile 2025-01-20 20:27:50 +03:00
ngn
345ddeeabb Merge pull request 'fix(deps): update rust crate chrono to v0.4.39' (#1) from renovate/chrono-0.x-lockfile into custom
All checks were successful
Build and publish the docker image / build (push) Successful in 3m25s
Reviewed-on: #1
2025-01-20 20:06:58 +03:00
ngn
b80a4c4ee8 Merge branch 'custom' into renovate/chrono-0.x-lockfile 2025-01-20 20:06:48 +03:00
ngn
27665b8436
add actix-files to the cargo.toml
All checks were successful
Build and publish the docker image / build (push) Successful in 3m15s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 06:21:34 +03:00
ngn
0cc19bf98d
fix unclosed '(' in settings.rs
Some checks failed
Build and publish the docker image / build (push) Failing after 12s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 06:04:17 +03:00
f70f3ab8ac fix(deps): update rust crate derive_more to v0.99.18 2025-01-20 03:01:26 +00:00
993a1dd373 fix(deps): update rust crate chrono to v0.4.39 2025-01-20 03:01:20 +00:00
3 changed files with 7 additions and 6 deletions

10
Cargo.lock generated
View File

@ -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",
@ -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]]

View File

@ -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"

View File

@ -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");
}