From 56b48a92196fb6ed4b7881e2eb57146fc625bf1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Nordstr=C3=B8m?= Date: Sun, 23 Feb 2025 00:05:29 +0100 Subject: [PATCH] Add additional deps. --- Cargo.lock | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 4 ++ 2 files changed, 155 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 24cde74..aa520a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1154,6 +1154,15 @@ dependencies = [ "serde", ] +[[package]] +name = "email_address" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e079f19b08ca6239f47f8ba8509c11cf3ea30095831f7fed61441475edd8c449" +dependencies = [ + "serde", +] + [[package]] name = "english-to-cron" version = "0.1.2" @@ -1170,6 +1179,16 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +[[package]] +name = "erased-serde" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +dependencies = [ + "serde", + "typeid", +] + [[package]] name = "errno" version = "0.3.10" @@ -1792,8 +1811,12 @@ dependencies = [ "cron_tab", "croner", "delay_timer", + "email_address", "english-to-cron", + "log", + "serde", "smol 2.0.2", + "sqlx", "tokio", "tokio-cron-scheduler", "tracing", @@ -1914,6 +1937,8 @@ version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" dependencies = [ + "serde", + "sval", "value-bag", ] @@ -3066,6 +3091,15 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "serde_fmt" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d4ddca14104cd60529e8c7f7ba71a2c8acd8f7f5cfcdc2faf97eeb7c3010a4" +dependencies = [ + "serde", +] + [[package]] name = "serde_json" version = "1.0.139" @@ -3268,6 +3302,8 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a007b6936676aa9ab40207cde35daab0a04b823be8ae004368c0793b96a61e0" dependencies = [ + "async-io 1.13.0", + "async-std", "bytes", "chrono", "crc", @@ -3313,6 +3349,7 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e9f90acc5ab146a99bf5061a7eb4976b573f560bc898ef3bf8435448dd5e7ad" dependencies = [ + "async-std", "dotenvy", "either", "heck", @@ -3460,6 +3497,84 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" +[[package]] +name = "sval" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4c2f18f53c889ec3dfe1c08b20fd51406d09b14bf18b366416718763ccff05a" + +[[package]] +name = "sval_buffer" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b8cb1bb48d0bed828b908e6b99e7ab8c7244994dc27948a2e31d42e8c4d77c1" +dependencies = [ + "sval", + "sval_ref", +] + +[[package]] +name = "sval_dynamic" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba574872d4ad653071a9db76c49656082db83a37cd5f559874273d36b4a02b9d" +dependencies = [ + "sval", +] + +[[package]] +name = "sval_fmt" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "944450b2dbbf8aae98537776b399b23d72b19243ee42522cfd110305f3c9ba5a" +dependencies = [ + "itoa", + "ryu", + "sval", +] + +[[package]] +name = "sval_json" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411bbd543c413796ccfbaa44f6676e20032b6c69e4996cb6c3e6ef30c79b96d1" +dependencies = [ + "itoa", + "ryu", + "sval", +] + +[[package]] +name = "sval_nested" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f30582d2a90869b380f8260559138c1b68ac3e0765520959f22a1a1fdca31769" +dependencies = [ + "sval", + "sval_buffer", + "sval_ref", +] + +[[package]] +name = "sval_ref" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "762d3fbf3c0869064b7c93808c67ad2ed0292dde9b060ac282817941d4707dff" +dependencies = [ + "sval", +] + +[[package]] +name = "sval_serde" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "752d307438c6a6a3d095a2fecf6950cfb946d301a5bd6b57f047db4f6f8d97b9" +dependencies = [ + "serde", + "sval", + "sval_nested", +] + [[package]] name = "syn" version = "1.0.109" @@ -3853,6 +3968,12 @@ dependencies = [ "valuable-serde", ] +[[package]] +name = "typeid" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" + [[package]] name = "typenum" version = "1.18.0" @@ -3967,6 +4088,36 @@ name = "value-bag" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2" +dependencies = [ + "value-bag-serde1", + "value-bag-sval2", +] + +[[package]] +name = "value-bag-serde1" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bb773bd36fd59c7ca6e336c94454d9c66386416734817927ac93d81cb3c5b0b" +dependencies = [ + "erased-serde", + "serde", + "serde_fmt", +] + +[[package]] +name = "value-bag-sval2" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53a916a702cac43a88694c97657d449775667bcd14b70419441d05b7fea4a83a" +dependencies = [ + "sval", + "sval_buffer", + "sval_dynamic", + "sval_fmt", + "sval_json", + "sval_ref", + "sval_serde", +] [[package]] name = "vcpkg" diff --git a/Cargo.toml b/Cargo.toml index 787d6d9..fc3b12b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,12 @@ cron-job = "0.2.0" cron_tab = { version = "0.2.8", features = ["all"] } croner = "2.1.0" delay_timer = { version = "0.11.6", features = ["full"] } +email_address = "0.2.9" english-to-cron = "0.1.2" +log = { version = "0.4.26", features = ["kv", "kv_serde", "max_level_debug", "release_max_level_debug", "serde", "std", "sval", "value-bag"] } +serde = { version = "1.0.218", features = ["alloc", "derive", "rc", "serde_derive"] } smol = "2.0.2" +sqlx = { version = "0.8.3", features = ["runtime-async-std"] } tokio = { version = "1.43.0", features = ["full", "mio", "test-util", "tracing"] } tokio-cron-scheduler = { version = "0.13.0", features = ["english", "log", "postgres_storage", "prost", "signal", "tokio-postgres", "tracing-subscriber"] } tracing = { version = "0.1.41", features = ["async-await", "log", "valuable", "max_level_debug", "release_max_level_debug"] }