mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
fix #15659 fix #15629 replace #15640 #### PR Dependency Tree * **PR #15695** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Import Improvements** * Repeated imports now update existing documents without duplicating folder links, while preserving existing dates and metadata. * Invalid document snapshots are rejected without replacing previously imported content. * Existing folders with matching names are reused during import. * **Removed Support** * OneNote file and notebook imports are no longer available. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "affine_native"
|
|
publish = false
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
affine_common = { workspace = true, features = ["hashcash"] }
|
|
affine_doc_loader = { workspace = true }
|
|
affine_importer = { workspace = true }
|
|
affine_media_capture = { path = "./media_capture" }
|
|
affine_nbstore = { workspace = true, features = ["napi"] }
|
|
affine_sqlite_v1 = { path = "./sqlite_v1" }
|
|
chrono = { workspace = true }
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sha3 = { workspace = true }
|
|
sqlx = { workspace = true, default-features = false, features = [
|
|
"chrono",
|
|
"macros",
|
|
"migrate",
|
|
"runtime-tokio",
|
|
"sqlite",
|
|
] }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
uuid = { workspace = true }
|
|
y-octo = { workspace = true }
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
affine_preview = { workspace = true, features = ["mermaid", "typst"] }
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
mimalloc = { workspace = true }
|
|
|
|
[target.'cfg(all(target_os = "linux", not(target_arch = "arm")))'.dependencies]
|
|
mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
|
|
|
|
[dev-dependencies]
|
|
chrono = { workspace = true }
|
|
hex = { workspace = true }
|
|
zip = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|