aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-05-22 00:53:59 +0200
committerTeddy Wing2021-05-22 00:53:59 +0200
commitfbbd83d0643224c6daec992905b3585ee6944d48 (patch)
treec478db3c2221a3669dd06b13f0410712bf76efae /Cargo.lock
parent1c543c5ec4214a0247857e9924a1a517c09a9326 (diff)
downloadgoogle-calendar-rsvp-fbbd83d0643224c6daec992905b3585ee6944d48.tar.bz2
Support base64-encoded event `eid`s
Event invitation emails include event ids encoded as "eid"s. These are base64-encoded strings of: {event_id} {user_email} Add a new function that decodes the ID from the base64 string if the input ID is base64-encoded. Otherwise, return the input event ID.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock28
1 files changed, 28 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 0bc6063..978714c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,15 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
+name = "aho-corasick"
+version = "0.7.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
name = "autocfg"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -207,11 +216,13 @@ dependencies = [
name = "google-calendar-rsvp"
version = "0.0.1"
dependencies = [
+ "base64",
"exitcode",
"google-calendar3",
"home",
"hyper",
"hyper-rustls",
+ "regex",
"serde_json",
"tokio",
"yup-oauth2",
@@ -606,6 +617,23 @@ dependencies = [
]
[[package]]
+name = "regex"
+version = "1.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.6.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
+
+[[package]]
name = "ring"
version = "0.16.20"
source = "registry+https://github.com/rust-lang/crates.io-index"