6e407a3ea7
Build and Deploy / build-and-push (push) Successful in 3m54s
- #66: Clamp safe-area insets to 25% of window height with warn!() on excess - #68: Move fire_flush outside per-event loop in analytics (batch flush once) - #56: Persist progress before marking reward_granted to prevent XP loss on crash - #60: Add DateRolloverTimer + check_date_rollover system for midnight seed refresh - #62: Add validate_header() in replay upload with mode/draw_mode allowlists - #61: Restore two-query leaderboard opt-in check (SELECT then UPDATE); original queries already in .sqlx cache; EXISTS variant would require sqlx prepare Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
20 lines
774 B
Rust
20 lines
774 B
Rust
//! Asset-loading infrastructure for runtime SVG rasterisation and the
|
|
//! per-platform user-themes directory.
|
|
//!
|
|
//! Provides the SVG → `Image` loader and the `embedded://` / `themes://`
|
|
//! custom `AssetSource` implementations used by the theme system.
|
|
|
|
pub mod card_face_svg;
|
|
pub mod icon_svg;
|
|
pub mod sources;
|
|
pub mod svg_loader;
|
|
pub mod user_dir;
|
|
|
|
pub use sources::{
|
|
AssetSourcesPlugin, CLASSIC_THEME_MANIFEST_URL, DARK_THEME_MANIFEST_URL, USER_THEMES,
|
|
bundled_theme_url, classic_theme_svg_bytes, dark_theme_svg_bytes,
|
|
populate_embedded_classic_theme, populate_embedded_dark_theme, register_theme_asset_sources,
|
|
};
|
|
pub use svg_loader::{SvgLoader, SvgLoaderError, SvgLoaderSettings, rasterize_svg};
|
|
pub use user_dir::{set_user_theme_dir, user_theme_dir};
|