Files
coco-app/src-tauri/Cargo.toml

43 lines
1.4 KiB
TOML
Raw Normal View History

2024-10-13 17:41:16 +08:00
[package]
name = "coco"
version = "0.1.0"
description = "Search, connect, collaborate all in one place."
authors = ["INFINI Labs"]
edition = "2021"
# 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 = "coco_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.0.0", features = [] }
[dependencies]
2024-12-10 13:43:58 +08:00
tauri = { version = "2.0.0", features = ["macos-private-api", "tray-icon", "image-png", "unstable"] }
2024-10-13 17:41:16 +08:00
tauri-plugin-shell = "2.0.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
2024-10-28 17:34:48 +08:00
tauri-plugin-http = "2"
2024-10-13 17:41:16 +08:00
tauri-plugin-websocket = "2"
tauri-plugin-theme = "2.1.2"
2024-10-13 17:41:16 +08:00
[profile.dev]
incremental = true # Compile your binary in smaller steps.
[profile.release]
codegen-units = 1 # Allows LLVM to perform better optimization.
lto = true # Enables link-time-optimizations.
opt-level = "s" # Prioritizes small binary size. Use `3` if you prefer speed.
panic = "abort" # Higher performance by disabling panic handlers.
2024-10-28 17:34:48 +08:00
strip = true # Ensures debug symbols are removed.
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-autostart = "^2.2"
tauri-plugin-global-shortcut = "2"