Upgrade all dependencies
Some checks failed
CI / CI (push) Has been cancelled

Also 'cargo clippy --fix', as current clippy warns on more things.
This commit is contained in:
2024-11-05 23:43:33 -08:00
parent 0df350dae6
commit 0f8f580050
8 changed files with 2579 additions and 792 deletions

View File

@@ -105,7 +105,7 @@ fn load_blocking(path: &String) -> anyhow::Result<Config> {
pub async fn load<S: AsRef<str>>(path: S) -> anyhow::Result<Config> {
let p = String::from(path.as_ref());
let config = tokio::task::spawn_blocking(move || {
load_blocking(&p).with_context(|| format!("Failed to load config from {}", p))
load_blocking(&p).with_context(|| format!("Failed to load config from {p}"))
})
.await??;
Ok(config)