39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "ipass-gui"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
license = "GNU GPLv3"
|
|
description = "A Password manager"
|
|
repository = "https://git.ipost.rocks/Code002Lover/IPass-GUI"
|
|
|
|
[lib]
|
|
name = "ipass_gui_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-beta", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tauri = { version = "2.0.0-beta", features = [] }
|
|
ip_lib = { path = "../library/" }
|
|
rand="0.8.5"
|
|
open="5.0.0"
|
|
tokio="1.28.2"
|
|
|
|
[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"]
|
|
|
|
[profile.release]
|
|
opt-level = 'z' # Optimize for size
|
|
lto = true # Enable link-time optimization
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
|
panic = 'abort' # Abort on panic
|
|
strip = true # Strip symbols from binary; remove pdb
|