mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-03-22 23:30:36 +08:00
<!-- 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 -->
39 lines
841 B
TOML
39 lines
841 B
TOML
[package]
|
|
edition = "2024"
|
|
name = "affine_sqlite_v1"
|
|
publish = false
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
affine_schema = { path = "../schema" }
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
sqlx = { workspace = true, default-features = false, features = [
|
|
"chrono",
|
|
"macros",
|
|
"migrate",
|
|
"runtime-tokio",
|
|
"sqlite",
|
|
"tls-rustls",
|
|
] }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
[build-dependencies]
|
|
affine_schema = { path = "../schema" }
|
|
dotenvy = { workspace = true }
|
|
napi-build = { workspace = true }
|
|
sqlx = { workspace = true, default-features = false, features = [
|
|
"chrono",
|
|
"macros",
|
|
"migrate",
|
|
"runtime-tokio",
|
|
"sqlite",
|
|
"tls-rustls",
|
|
] }
|
|
tokio = { workspace = true, features = ["full"] }
|