From b0db19b586a64afe4ee4b3bd3ba927318442b2c7 Mon Sep 17 00:00:00 2001 From: daladim Date: Wed, 10 Nov 2021 22:16:11 +0100 Subject: [PATCH] Forked ical-rs to support serde --- Cargo.lock | 8 +++++--- Cargo.toml | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea4129b..49f3333 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.15" @@ -341,10 +343,10 @@ dependencies = [ [[package]] name = "ical" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9f7215ad0d77e69644570dee000c7678a47ba7441062c1b5f918adde0d73cf" +version = "0.6.0" +source = "git+https://github.com/daladim/ical-rs.git?branch=ical_serde#f3a182eee5f1f6acf44fa1512839602d7105a899" dependencies = [ + "serde", "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index 48e93a0..c8b3fa4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,10 @@ serde_json = "1.0" async-trait = "0.1" uuid = { version = "0.8", features = ["v4"] } sanitize-filename = "0.3" -ical = "0.7" +ical = { version = "0.6", features = ["serde-derive"] } ics = "0.5" chrono = { version = "0.4", features = ["serde"] } csscolorparser = { version = "0.5", features = ["serde"] } + +[patch.crates-io] +ical = { git = "https://github.com/daladim/ical-rs.git", branch = "ical_serde" }