mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-28 16:06:28 +01:00
43 lines
1.4 KiB
TOML
43 lines
1.4 KiB
TOML
[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]
|
||
tauri = { version = "2.0.0", features = ["macos-private-api", "tray-icon", "image-png", "unstable"] }
|
||
tauri-plugin-shell = "2.0.0"
|
||
serde = { version = "1", features = ["derive"] }
|
||
serde_json = "1"
|
||
tauri-plugin-http = "2"
|
||
|
||
tauri-plugin-websocket = "2"
|
||
tauri-plugin-theme = "2.1.2"
|
||
|
||
[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.
|
||
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"
|