Skip to main content

Module availability

Module availability 

Source
Expand description

Multi-stream availability merging with privacy-preserving output.

Accepts N event streams (from different calendars/providers), merges them into unified busy/free blocks within a time window. Supports privacy levels to control how much source information is exposed.

This module is the core of the “Unified Availability Graph” — it computes the single source of truth for a user’s availability across all their calendars.

Structs§

BusyBlock
A merged busy block in the unified availability view.
EventStream
A named event stream from a single calendar source.
UnifiedAvailability
Unified availability result after merging N event streams.

Enums§

PrivacyLevel
Privacy level for availability output.

Functions§

find_first_free_across
Find the first free slot of at least min_duration_minutes across N merged event streams.
merge_availability
Merge N event streams into unified availability within a time window.