mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-03 09:11:10 +00:00
Add opt-in browser download helpers that own detached links and object URLs, clean up failed or abandoned preparation, and register delayed URL cleanup before issuing a click. Applications retain filename, MIME type, pacing, and user-activation policy. Include browser lifecycle and failure-path tests, public API documentation, and Sonar test-source classification. All 32 PR checks passed; targeted WASM Clippy and formatting passed in local validation.
12 lines
558 B
Rust
12 lines
558 B
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.
|
|
#[cfg(feature = "appearance")]
|
|
pub mod appearance;
|
|
#[cfg(all(feature = "browser", target_arch = "wasm32"))]
|
|
pub mod browser;
|
|
pub mod dialog_outcome;
|
|
#[cfg(all(feature = "dialogs", not(target_arch = "wasm32")))]
|
|
pub mod dialogs;
|
|
#[cfg(all(feature = "appearance", unix, not(target_os = "macos"), not(target_arch = "wasm32")))]
|
|
mod process;
|