Files
rolegram/src-tauri/Cargo.toml
T
王宏建 258e55b78a feat(project): 初始化 Tauri + Vue + TypeScript 项目
- 添加项目基础配置文件 package.json、tsconfig.json 和 vite.config.ts
- 配置 Git 忽略规则 .gitignore 包含构建产物和开发环境文件
- 设置 VSCode 推荐插件 extensions.json 包含 Volar、Tauri 和 Rust 分析器
- 创建项目主页 index.html 和应用入口 src/main.ts
- 添加 README.md 包含项目介绍和推荐的 IDE 设置
- 安装依赖包包括 @tauri-apps/api、vue、vue-router 等核心库
- 生成 pnpm 锁定文件 pnpm-lock.yaml 确保依赖版本一致性
2026-03-09 16:19:14 +08:00

26 lines
726 B
TOML

[package]
name = "rolegram"
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 = "rolegram_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"