From 7aa1dd07f4d2b38f4297612bd4f046b341d84f9f Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 29 Sep 2024 21:14:52 -0400 Subject: [PATCH] added serde, serde_yaml crates --- backend/task/Cargo.lock | 21 +++++++++++++++++++++ backend/task/Cargo.toml | 2 ++ 2 files changed, 23 insertions(+) diff --git a/backend/task/Cargo.lock b/backend/task/Cargo.lock index e4a1733..3fc7ad9 100644 --- a/backend/task/Cargo.lock +++ b/backend/task/Cargo.lock @@ -1102,6 +1102,19 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_yaml" +version = "0.9.34+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" +dependencies = [ + "indexmap", + "itoa", + "ryu", + "serde", + "unsafe-libyaml", +] + [[package]] name = "sha1" version = "0.10.6" @@ -1445,6 +1458,8 @@ dependencies = [ "job_scheduler", "markdown", "once_cell", + "serde", + "serde_yaml", "sqlx", "tokio", ] @@ -1614,6 +1629,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" +[[package]] +name = "unsafe-libyaml" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" + [[package]] name = "untrusted" version = "0.9.0" diff --git a/backend/task/Cargo.toml b/backend/task/Cargo.toml index 95cab65..10432c7 100644 --- a/backend/task/Cargo.toml +++ b/backend/task/Cargo.toml @@ -18,3 +18,5 @@ once_cell = "1.19.0" dotenvy = "0.15.7" futures = "0.3.30" markdown = "1.0.0-alpha.20" +serde = {version = "*", features = ["derive"]} +serde_yaml = "*"