fix(core): onenote import (#15332)

#### PR Dependency Tree


* **PR #15332** 👈

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

* **New Features**
* Added improved Windows support for importing OneNote files, including
`.one`, `.onetoc2`, and `.onepkg` formats.
* Enabled reliable handling of Windows paths, including UNC and verbatim
paths.
* Added filesystem operations for reading, writing, discovering, and
opening OneNote content on Windows.

* **Bug Fixes**
* Improved file access and path resolution during OneNote imports on
Windows.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-07-23 18:45:28 +08:00
committed by GitHub
parent 174ad9bc55
commit 8001451fd5
5 changed files with 173 additions and 2 deletions
+3
View File
@@ -36,6 +36,9 @@ typed-path = { workspace = true }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
affine_preview = { workspace = true, features = ["mermaid", "typst"] }
[target.'cfg(windows)'.dependencies]
bytes = { workspace = true }
[target.'cfg(not(target_os = "linux"))'.dependencies]
mimalloc = { workspace = true }