use time lib instead of sqlx type for OffsetDateTime

This commit is contained in:
Tanner Sommers 2024-11-25 19:59:10 -06:00
parent 8ad706e1ee
commit 548d4fd21c
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View File

@ -2301,6 +2301,7 @@ dependencies = [
"serde_json", "serde_json",
"serenity", "serenity",
"sqlx", "sqlx",
"time",
"tokio", "tokio",
"toml", "toml",
"tracing", "tracing",

View File

@ -18,3 +18,4 @@ chrono-tz = "0.10.0"
reqwest = "0.12.9" reqwest = "0.12.9"
serde_json = "1.0.133" serde_json = "1.0.133"
libloading = "0.8.5" libloading = "0.8.5"
time = "0.3.36"

View File

@ -1,4 +1,4 @@
use sqlx::types::time::OffsetDateTime; use time::OffsetDateTime;
#[derive(Debug)] #[derive(Debug)]
pub struct Quote { pub struct Quote {