51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[package]
|
|
name = "json-to-calss"
|
|
version = "1.0.2"
|
|
description = "json转换为类或接口的桌面端工具"
|
|
authors = ["bmy"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "tauri_app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-alpha.11", features = [] }
|
|
|
|
[dependencies]
|
|
# devtools
|
|
tauri = { version = "2.0.0-alpha.17", features = ["macos-private-api"] }
|
|
# 窗口
|
|
tauri-plugin-window = "2.0.0-alpha.2"
|
|
# shell 命令行
|
|
tauri-plugin-shell = "2.0.0-alpha.4"
|
|
# 开机自启
|
|
tauri-plugin-autostart = "2.0.0-alpha.4"
|
|
# 通知
|
|
tauri-plugin-notification = "2.0.0-alpha.5"
|
|
# fs 文件系统
|
|
tauri-plugin-fs = "2.0.0-alpha.4"
|
|
# 剪切板插件
|
|
tauri-plugin-clipboard-manager = "2.0.0-alpha.4"
|
|
# dialog
|
|
tauri-plugin-dialog = "2.0.0-alpha.4"
|
|
|
|
serde_json = "1.0"
|
|
window-vibrancy = "0.4.3"
|
|
|
|
[profile.release]
|
|
panic = "abort" # Strip expensive panic clean-up logic
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
lto = true # Enables link to optimizations
|
|
opt-level = "s" # Optimize for binary size
|
|
strip = true # Remove debug symbols
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|