From e9ae0468b3b13efac54383058d02fec9e82e6838 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 12:08:29 +0000 Subject: [PATCH] Add thiserror crate --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 780c494..209b80a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -492,6 +492,7 @@ dependencies = [ "secrecy", "serde", "sqlx", + "thiserror", "time", "tokio", "tracing", diff --git a/Cargo.toml b/Cargo.toml index b39e86d..54bcab4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ rand = "0.8.5" secrecy = { version = "0.8.0", features = ["serde"] } serde = { version = "1.0.196", features = ["derive"] } sqlx = { version = "0.7.3", features = ["runtime-tokio", "tls-rustls", "sqlite"] } +thiserror = "1.0.56" time = { version = "0.3.34", features = ["formatting", "macros"] } tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] } tracing = "0.1.40"