[package] name = "hula" version = "2.0.0" description = "hula" authors = ["nongyehong"] license = "" repository = "" edition = "2021" [profile.release] panic = "abort" # 去掉昂贵的恐慌清理逻辑 codegen-units = 1 # 一个接一个地编译包,这样编译器就可以更好地优化 lto = true # 启用链接到优化 opt-level = "s" # 优化二进制文件大小,并且不会太大消耗性能,"z"极致优化大小但是会消耗性能 strip = true # 删除调试符号 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] tauri-build = { version = "2.0.0-rc", features = [] } [dependencies] tauri = { version = "2.0.0-rc.0", features = [ "macos-private-api", "tray-icon", "image-png"] } tauri-plugin-os = "2.0.0-rc.0" tauri-plugin-shell = "2.0.0-rc.0" serde = { version = "1", features = ["derive"] } serde_json = "1" tauri-plugin-websocket = "2.0.0-rc.0" tauri-plugin-http = "2.0.0-rc.0" tauri-plugin-process = "2.0.0-rc.0" tauri-plugin-fs = "2.0.0-rc.0" tauri-plugin-dialog = "2.0.0-rc.0" tauri-plugin-upload = "2.0.0-rc.0" tauri-plugin-global-shortcut = "2.0.0-rc.0" tauri-plugin-autostart = "2.0.0-rc.0" lazy_static = "1.4" screenshots = "0.5.4" base64 = "0.22.1" tauri-plugin-clipboard-manager = "2.0.0-rc.0" rodio = "0.17.3" [features] # by default Tauri runs in production mode # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL default = ["custom-protocol"] # this feature is used used for production builds where `devPath` points to the filesystem # DO NOT remove this custom-protocol = ["tauri/custom-protocol"]