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
|
|
|
|
|
2024-11-09 11:30:36 +08:00
|
|
|
|
tauri-plugin-websocket = "2"
|
2024-12-19 12:06:40 +08:00
|
|
|
|
tauri-plugin-theme = "2.1.2"
|
2024-10-30 20:57:03 +08:00
|
|
|
|
|
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.
|
2024-11-30 15:29:00 +08:00
|
|
|
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
2024-12-14 15:38:32 +08:00
|
|
|
|
tauri-plugin-autostart = "^2.2"
|
2024-11-30 15:29:00 +08:00
|
|
|
|
tauri-plugin-global-shortcut = "2"
|