soma_tauri_shell/lib.rs
1// Render per-item feature-requirement badges when rustdoc runs on nightly with
2// `--cfg docsrs` (docs.rs posture; locally via `cargo xtask doc --docsrs-cfg`).
3// Inert under the stable CI doc gate: stable rustdoc never sets `docsrs`.
4#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5//! `soma-tauri-shell` — reusable, product-neutral Tauri desktop shell mechanics.
6//!
7//! This crate owns generic Tauri window/tray/shortcut/blur/persistence and
8//! command-result plumbing shared across Tauri-based desktop apps built on
9//! Soma. It deliberately owns *mechanics*, not policy: it has no knowledge of
10//! any particular product's settings shape, environment variable names,
11//! OAuth policy, or UI. Callers (an app-local `src-tauri` package) supply the
12//! product-specific labels, defaults, and business logic and call into these
13//! helpers to do the actual Tauri API work.
14//!
15//! See `soma-architecture-refactor-plan-v3.md` section 3.14 for the crate's
16//! ownership boundary.
17
18pub mod app;
19pub mod blur;
20pub mod command;
21pub mod persistence;
22pub mod shortcut;
23pub mod tray;
24pub mod window;
25
26pub use command::{CommandResult, TauriResultExt};