feat: Tauri 壳与 Rust 命令层(文件读写/编码探测/资源落盘)

This commit is contained in:
Muse
2026-11-13 21:19:23 +08:00
parent cbe641e21a
commit ac2c29df8f
13 changed files with 4834 additions and 0 deletions

19
src-tauri/Cargo.toml Normal file
View File

@@ -0,0 +1,19 @@
[package]
name = "new-markdown"
version = "0.1.0"
description = "new-markdown — Windows Markdown 所见即所得编辑器"
edition = "2021"
[lib]
name = "new_markdown_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-dialog = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
encoding_rs = "0.8"