[package] name = "{% package_name %}" 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 {% if v2 %}[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 = "{% lib_name %}" crate-type = ["staticlib", "cdylib", "rlib"] {% endif %}{% if v1 %}[build-dependencies] tauri-build = { version = "1", features = [] } [dependencies] tauri = { version = "1", features = ["shell-open"] }{% else %}[build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = [] } tauri-plugin-shell = "2"{% endif %} serde = { version = "1", features = ["derive"] } serde_json = "1" {% if v1 %} [features] # This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!! custom-protocol = ["tauri/custom-protocol"]{% endif %}