mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-29 00:24:46 +01:00
* feat: support for automatic app updates * refactor: add force update instructions * refactor: optimize version update alerts * chore: updating configuration files
93 lines
2.8 KiB
TOML
93 lines
2.8 KiB
TOML
[package]
|
||
name = "coco"
|
||
version = "0.2.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", features = ["default"] }
|
||
|
||
[features]
|
||
default = ["desktop"]
|
||
desktop = []
|
||
cargo-clippy = []
|
||
|
||
[dependencies]
|
||
pizza-common = { git = "https://github.com/infinilabs/pizza-common", branch = "main" }
|
||
|
||
tauri = { version = "2", features = ["protocol-asset", "macos-private-api", "tray-icon", "image-ico", "image-png", "unstable"] }
|
||
tauri-plugin-shell = "2"
|
||
serde = { version = "1", features = ["derive"] }
|
||
serde_json = "1"
|
||
tauri-plugin-http = "2"
|
||
tauri-plugin-websocket = "2"
|
||
tauri-plugin-deep-link = "2.0.0"
|
||
tauri-plugin-store = "2.2.0"
|
||
tauri-plugin-os = "2"
|
||
tauri-plugin-dialog = "2"
|
||
tauri-plugin-fs = "2"
|
||
tauri-plugin-updater = "2"
|
||
tauri-plugin-process = "2"
|
||
tauri-plugin-drag = "2"
|
||
tauri-plugin-macos-permissions = "2"
|
||
tauri-plugin-fs-pro = "2"
|
||
tauri-plugin-screenshots = "2"
|
||
applications = "0.3.0"
|
||
|
||
tokio-native-tls = "0.3" # For wss connections
|
||
tokio = { version = "1", features = ["full"] }
|
||
tokio-tungstenite = { version = "0.20", features = ["rustls-tls-webpki-roots"] }
|
||
hyper = { version = "0.14", features = ["client"] }
|
||
reqwest = "0.12.12"
|
||
futures = "0.3.31"
|
||
ordered-float = { version = "4.6.0", default-features = false }
|
||
lazy_static = "1.5.0"
|
||
once_cell = "1.20.2"
|
||
notify = "5.0"
|
||
async-trait = "0.1.82"
|
||
thiserror = "1.0.64"
|
||
dirs = "5.0.1"
|
||
hostname = "0.3"
|
||
plist = "1.7"
|
||
base64 = "0.13"
|
||
walkdir = "2"
|
||
fuzzy_prefix_search = "0.2"
|
||
log = "0.4"
|
||
|
||
futures-util = "0.3.31"
|
||
url = "2.5.2"
|
||
http = "1.1.0"
|
||
tungstenite = "0.24.0"
|
||
env_logger = "0.11.5"
|
||
|
||
[target."cfg(target_os = \"macos\")".dependencies]
|
||
tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2" }
|
||
|
||
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\"))".dependencies]
|
||
tauri-plugin-single-instance = { version = "2.0.0", features = ["deep-link"] }
|
||
|
||
|
||
[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"
|
||
tauri-plugin-updater = "2"
|