diff --git a/Cargo.toml b/Cargo.toml index f3eac12..33f36af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,8 @@ publish = false [dependencies] serde = { version = "1", features = ["derive"] } -serde_with = { version = "1.12", features = ["chrono"] } +serde_with = "1.12" serde_json = "1" -chrono = { version = "0.4", features = ["serde"] } getset = "0.1" uuid = { version = "0.8", features = ["serde"] } thiserror = "1" diff --git a/src/payload/mod.rs b/src/payload/mod.rs index b6af8cb..70d233c 100644 --- a/src/payload/mod.rs +++ b/src/payload/mod.rs @@ -64,7 +64,7 @@ pub struct Value { #[getset(get = "pub")] #[serde_as(as = "TimestampMilliSeconds")] - timestamp: chrono::DateTime, + timestamp: std::time::SystemTime, } impl Value {