From 5286c49bd3aea63bae34bb5018634ed5e33d8452 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Sat, 1 Feb 2025 19:19:36 +0000 Subject: [PATCH] Bump dep versions --- Cargo.toml | 19 ++++++++++--------- src/main.rs | 1 + src/toggl/support.rs | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8486e56..c728c04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,14 +4,14 @@ version = "0.1.0" edition = "2021" [dependencies] -axum = "0.7.5" +axum = "0.8.1" chrono = { version = "0.4.38", features = ["serde"] } -governor = "0.6.3" +governor = "0.8.0" reqwest = { version = "0.12.5", default-features = false, features = ["json", "rustls-tls", "http2", "macos-system-configuration", "charset"] } -reqwest-ratelimit = "0.2.0" -reqwest-middleware = { version = "0.3", features = ["json"] } -reqwest-retry = "0.6" -thiserror = "1.0.62" +reqwest-ratelimit = "0.3.0" +reqwest-middleware = { version = "0.4.0", features = ["json"] } +reqwest-retry = "0.7.0" +thiserror = "2.0.11" tokio = { version = "1.38.0", features = ["full"] } base64 = "0.22.1" serde = { version = "1.0.204", features = ["derive"] } @@ -19,11 +19,12 @@ serde_json = "1.0.120" serde_json_path_to_error = "0.1.4" url = "2.5.2" serde_with = "3.9.0" -sqlx = { version = "0.7.4", features = ["postgres", "macros", "chrono", "runtime-tokio-rustls"] } +sqlx = { version = "0.8.3", features = ["postgres", "macros", "chrono", "runtime-tokio-rustls"] } futures = "0.3.30" tracing = "0.1.40" tracing-subscriber = "0.3.18" -itertools = "0.13.0" -soa-rs = "0.6.1" +itertools = "0.14.0" +soa-rs = "0.7.5" clap = { version = "4.5.11", features = ["derive", "env"] } dotenvy = "0.15.7" +async-trait = "0.1.86" diff --git a/src/main.rs b/src/main.rs index 2eaf2f7..3c62bb5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,6 +117,7 @@ async fn main() { .await .expect("Failed to start server"); } + Commands::Sync => { worker .update(TimeDelta::days(30)) diff --git a/src/toggl/support.rs b/src/toggl/support.rs index ee1e08e..6680f11 100644 --- a/src/toggl/support.rs +++ b/src/toggl/support.rs @@ -1,4 +1,4 @@ -use axum::async_trait; +use async_trait::async_trait; use governor::clock::DefaultClock; use governor::state::{InMemoryState, NotKeyed}; use std::num::NonZero;