[package] name = "has" version = "0.0.6" description = "has" authors = ["autli"] edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [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 = "has_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = [] } tauri-plugin-opener = "2" tauri-plugin-updater = "2" tauri-plugin-process = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" tokio = { version = "1", features = ["full"] } tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"] } native-tls = { version = "0.2", features = ["vendored"] } openssl = { version = "0.10", features = ["vendored"] } tokio-native-tls = "0.3" postgres-native-tls = "0.5" dotenvy = "0.15" bcrypt = "0.17" sha2 = "0.10" hex = "0.4" base64 = "0.22" chrono = { version = "0.4", default-features = false, features = ["clock"] } reqwest = { version = "0.12", default-features = false, features = ["json", "default-tls"] } rustls = { version = "0.23", default-features = false, features = ["ring"] } # Read the optimization guideline for more details: https://tauri.app/concept/size/#cargo-configuration [profile.release] codegen-units = 1 lto = true opt-level = 3 panic = "abort" strip = true