1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! gcal_rs: Another Google Calendar API library for rust-lang
//!
//! I wrote this by hand because I found other clients hard to use for my use-cases. This provides an API layer into the Google Calendar API that is very minimal but also mostly complete. Types are fully represented.
//!
//! ## Example
//!
//! ```ignore
//! use gcal_rs::*;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), anyhow::Error> {
//! let access_key = std::env::args().nth(1).expect("Provide an access key");
//! let now = chrono::Local::now();
//! let client = Client::new(access_key);
//! let client = EventClient::new(client);
//! let list = client.list(now - chrono::Duration::days(1), now).await?;
//!
//! for event in &list {
//! eprintln!("{} {}", event.id, event.summary);
//! }
//! }
//! ```
/// Core client, used to construct other clients.
pub use *;
pub use *;
/// Calendar types.
pub use *;
/// Events, the method you will work with most; events in a single calendar.
pub use *;
/// Sendable trait for constructing your own queries to Google Calendar through the client.
pub use *;
pub use ;