Files
Pake/src-tauri/Cargo.toml
pan93412 a3180fbd4d feat: Make devtools a feature
Users can now enable DevTools easily,
without worrying about forgetting 'uncomment' that function.
2022-11-08 15:32:36 +08:00

33 lines
932 B
TOML

[package]
name = "app"
version = "0.1.0"
description = "Pake 打包工具"
authors = ["Tw93"]
license = ""
repository = ""
default-run = "app"
edition = "2021"
rust-version = "1.61.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "1.1.1", features = [] }
[dependencies]
serde_json = "1.0.86"
serde = { version = "1.0.145", features = ["derive"] }
tauri = { version = "1.1.1", features = ["api-all"] }
wry = "0.21.1"
tauri-utils = "1.1.1"
[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" ]
# Enable DevTools for debugging.
devtools = []