origin-platform
Platform contracts for Origin: the OS capabilities domain code is allowed to depend on.
Part of Origin, a Rust/Tauri platform for building desktop applications from a shared set of domain crates. See the workspace documentation for how the pieces fit together, and ARCHITECTURE.md for the rules this crate follows.
Example
use ;
let notifications = NoopNotificationService;
notifications
.notify
.await?;
The testing feature adds RecordingNotificationService and RecordingOpener, test
doubles that capture what would have been shown or opened instead of touching the OS.
Stability
Pre-1.0 (0.2.0). Public types, enums and field sets may still change between minor
versions; pin an exact version if that matters to you.