Files
OwnCord/Client/tauri-client/src-tauri/Cargo.toml
T

54 lines
1.8 KiB
TOML
Raw Normal View History

[package]
name = "owncord-client"
version = "1.1.0-alpha.2"
edition = "2021"
description = "OwnCord Desktop Client"
[lib]
name = "owncord_client_lib"
crate-type = ["lib", "cdylib", "staticlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
tauri-typegen = "0.5"
[features]
default = []
devtools = ["tauri/devtools"]
[dependencies]
tauri = { version = "2", features = ["tray-icon"] }
tauri-plugin-store = "2"
tauri-plugin-global-shortcut = "2"
tauri-plugin-notification = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# NOTE: dangerous-settings is required for self-signed certificate support.
# The app is designed for self-hosted servers which commonly use self-signed certs.
# The Rust TOFU WS proxy handles WebSocket certs, but HTTP API calls (health,
# login, upload) and attachment downloads need this feature to accept self-signed
# certs via the `danger` fetch option. Scoped to server URLs only in attachments.ts.
tauri-plugin-http = { version = "2.5.7", features = ["rustls-tls", "dangerous-settings"] }
tauri-plugin-opener = "2"
tauri-plugin-dialog = "2"
tauri-plugin-fs = "2"
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
url = "2"
tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-webpki-roots"] }
futures-util = "0.3.32"
tokio = { version = "1", features = ["sync", "net", "io-util", "rt", "macros"] }
tokio-rustls = { version = "0.26", default-features = false }
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
ring = "0.17"
log = "0.4"
env_logger = "0.11"
keyring = "3"
rfd = { version = "0.16", default-features = false }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = ["Win32_UI_Input_KeyboardAndMouse"] }
[target.'cfg(target_os = "linux")'.dependencies]
device_query = "2"