runlatch_core/lib.rs
1#![doc = include_str!("../README.md")]
2//!
3//! ## Module map
4//!
5//! - [`model`] — the provider-agnostic [`AutostartEntry`] and [`Scope`].
6//! - [`provider`] — the [`AutostartProvider`] trait and why it is `async`.
7//! - [`providers`] — the built-in [`XdgAutostartProvider`] (user and system) and
8//! [`SystemdProvider`] (user and system).
9//! - [`registry`] — the aggregating [`Registry`].
10//! - [`desktop_file`] — an order-preserving `.desktop` reader/writer.
11
12#[cfg(not(target_os = "linux"))]
13compile_error!("runlatch only supports Linux");
14
15pub mod desktop_file;
16pub mod model;
17pub mod provider;
18pub mod providers;
19pub mod registry;
20
21pub use model::{AutostartEntry, Scope};
22pub use provider::AutostartProvider;
23pub use providers::{SystemdProvider, XdgAutostartProvider};
24pub use registry::{AggregateResult, ProviderError, Registry};