feat: add cron
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-27 14:33:56 +01:00
parent 9c39c0daa2
commit af10f48d8d
3 changed files with 155 additions and 4 deletions

23
Cargo.lock generated
View File

@@ -132,6 +132,17 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "cron"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5877d3fbf742507b66bc2a1945106bd30dd8504019d596901ddd012a4dd01740"
dependencies = [
"chrono",
"once_cell",
"winnow",
]
[[package]]
name = "futures-core"
version = "0.3.31"
@@ -249,11 +260,12 @@ dependencies = [
[[package]]
name = "nodrift"
version = "0.3.2"
version = "0.3.3"
dependencies = [
"anyhow",
"async-trait",
"chrono",
"cron",
"thiserror",
"tokio",
"tokio-util",
@@ -810,3 +822,12 @@ name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "winnow"
version = "0.6.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28"
dependencies = [
"memchr",
]