Files
craft-libs/crates/platform/src/lib.rs
T
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00

64 lines
1.7 KiB
Rust

#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
//! Shared lifecycle mechanics; application state, theme choices and file policy stay in hosts.
#![warn(missing_docs)]
#[cfg(feature = "appearance")]
pub mod appearance;
pub mod autosave;
#[cfg(test)]
mod autosave_tests;
#[cfg(all(feature = "browser", target_arch = "wasm32"))]
pub mod browser;
#[cfg(all(feature = "browser", target_arch = "wasm32"))]
pub mod browser_files;
#[cfg(all(test, feature = "browser", target_arch = "wasm32"))]
mod browser_files_tests;
#[cfg(feature = "clipboard")]
pub mod clipboard;
#[cfg(all(test, feature = "clipboard"))]
mod clipboard_tests;
pub mod clock;
#[cfg(not(target_arch = "wasm32"))]
pub mod default_app;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod default_app_tests;
pub mod dialog_outcome;
#[cfg(not(target_arch = "wasm32"))]
pub mod dialogs;
pub mod logs;
mod message;
#[cfg(test)]
mod message_tests;
pub mod open;
#[cfg(test)]
mod open_tests;
#[cfg(not(target_arch = "wasm32"))]
pub mod owner_only;
pub mod pacing;
#[cfg(feature = "pointer")]
pub mod pointer;
#[cfg(all(feature = "appearance", unix, not(target_os = "macos"), not(target_arch = "wasm32")))]
mod process;
#[cfg(feature = "screen")]
pub mod screen;
pub mod session;
#[cfg(test)]
mod session_tests;
#[cfg(not(target_arch = "wasm32"))]
pub mod temp;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod temp_tests;
#[cfg(feature = "usage")]
pub mod usage;
pub mod watch;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod watch_tests;
pub use message::{PlatformText, texts};
#[cfg(test)]
extern crate self as craft_platform;
#[cfg(test)]
#[path = "../tests/main.rs"]
mod integration;