mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
7ac8b14b65
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Native/WASM Mermaid and Typst SVG preview rendering on desktop and mobile, plus cross-platform Preview plugin integrations. * **Improvements** * Centralized, sanitized rendering bridge with automatic Typst font-directory handling and configurable native renderer selection. * More consistent and robust error serialization and worker-backed preview flows for improved stability and performance. * **Tests** * Extensive unit and integration tests for preview rendering, font discovery, sanitization, and error serialization. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
13 lines
318 B
Rust
13 lines
318 B
Rust
pub mod hashcash;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
pub mod preview;
|
|
|
|
#[cfg(not(target_arch = "arm"))]
|
|
#[global_allocator]
|
|
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|
|
|
#[allow(unused_imports)]
|
|
pub use affine_media_capture::*;
|
|
pub use affine_nbstore::*;
|
|
pub use affine_sqlite_v1::*;
|