Crate ics_watcher

Crate ics_watcher 

Source
Expand description

A lightweight crate for monitoring iCalendar (ICS) files or links and detecting changes, additions, and removals. Provides an API to watch calendars and receive notifications through customizable callbacks.

See ICSWatcher to get started.

Structs§

CalendarChangeDetector
Handling change detection of a single calendar (as one ics file can contain multiple calendars) For usage details, see ICSWatcher
EventData
A helper struct to save an IcalEvent with its uid
ICSWatcher
Instantiate an ICSWatcher using ICSWatcher::new to watch for changes of an ics link.
PropertyChange
A struct denoting a Property Change of a key with both states in from and to.

Enums§

CalendarEvent
Used to pass the events to the callbacks.

Functions§

log_events
This is a callback which logs all events.
tum_google_sync
This is a callback which synchronizes your TUM Calendar to your Google Calender.

Type Aliases§

CalendarCallback