From f4240aa62b47850020aa8c3e164d6d3544626f53 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 13 Apr 2022 18:29:18 +0100 Subject: Initial implementation of calendar API (#298) This can be used in the future for sync so that we can be more intelligent with what we're doing, and only sync up what's needed I'd like to eventually replace this with something more like a merkle tree, hence the hash field I've exposed, but that can come later Although this does include a much larger number of count queries, it should also be significantly more cache-able. I'll follow up with that later, and also follow up with using this for sync :) --- Cargo.lock | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index e7fe019c..526d6bc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,6 +144,7 @@ dependencies = [ "axum", "base64", "chrono", + "chronoutil", "config", "eyre", "fs-err", @@ -332,6 +333,15 @@ dependencies = [ "scanlex", ] +[[package]] +name = "chronoutil" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a58c924bb772aa201da3acf5308c46b60275c64e6d3bc89c23dd63d71e83fd" +dependencies = [ + "chrono", +] + [[package]] name = "clap" version = "3.1.8" -- cgit v1.3.1