origin-platform 0.1.0

Platform contracts for Origin: the OS capabilities domain code is allowed to depend on.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Platform contracts (ADR-0001).
//!
//! These traits are the only way domain code touches the operating system. Tauri-backed
//! implementations live in `adapters/` and `host/`; this crate must never depend on them.

mod notifications;
mod opener;
pub mod paths;

#[cfg(feature = "testing")]
pub mod testing;

pub use notifications::{NoopNotificationService, Notification, NotificationService, Urgency};
pub use opener::Opener;