refactor: 重构项目结构与文件命名规范
- 移除已过时的忽略规则并更新 Cargo 和 Tauri 生成文件的忽略配置 - 删除已过时的项目协作指南文件AGENTS.md - 重命名 binaries/.gitignore 文件以保持项目结构一致性 - 重命名构建脚本文件以符合项目根目录的规范 - 删除了包含所有依赖项及其哈希值的锁文件,移除了项目所有构建工具和平台特定二进制文件的详细版本信息。 - 重命名能力配置文件以统一路径结构 - 重命名 Cargo.lock 文件以匹配项目根目录的命名规范 - 重命名 Cargo.toml 文件以统一项目根目录的配置文件路径 - 重命名图标文件以统一项目中的资源路径 - 重命名图标文件以正确反映其在项目中的位置 - 重命名图标文件以正确反映其在项目中的位置 - 重命名图标文件以统一项目中的资源路径结构 - 重命名图标文件路径以保持项目结构一致性 - 重命名图标文件以统一项目资源路径 - 重命名图标文件以正确反映其在项目中的新路径 - 重命名图标文件以正确匹配新路径结构 - 重命名图标文件以正确反映其在项目中的位置 - 重命名图标文件以匹配新路径结构 - 重命名图标文件以正确反映其在项目中的位置 - 重命名图标文件以匹配新的项目路径结构 - 重命名图标文件以正确反映其在项目中的新路径 - 重命名图标文件以正确反映其在项目中的新路径 - 重命名图标文件以正确反映其在项目中的位置 - 重命名图标文件以正确反映其在项目中的位置 - 删除项目中的 package.json 文件及其中定义的依赖和脚本配置 - 删除 README.md 文件 - 删除不再需要的构建和生成文件忽略规则 - 重命名源文件路径以符合项目结构规范 - 重命名主源文件路径以符合项目结构规范 - 重命名 tauri.conf.json 文件以统一配置文件路径
This commit is contained in:
27
Cargo.toml
Normal file
27
Cargo.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "tauri-demo"
|
||||
version = "0.1.0"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
# The `_lib` suffix may seem redundant but it is necessary
|
||||
# to make the lib name unique and wouldn't conflict with the bin name.
|
||||
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
||||
name = "tauri_demo_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = [] }
|
||||
tauri-plugin-opener = "2"
|
||||
tauri-plugin-shell = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["net"] }
|
||||
|
||||
Reference in New Issue
Block a user