Files
knock/src-tauri/Cargo.toml
T
JoshiCodes 5ad72214a8 GitHub workflow for macOS, Windows and native Linux builds; PKGBUILDs embed the frontend
- macOS: universal .app/.dmg and a universal CLI binary
- Windows (best effort): .msi, setup .exe and the CLI
- Linux on Ubuntu 22.04 amd64: deb, rpm, AppImage with a smoke test
- Tags attach everything to the GitHub release
- custom-protocol feature, so a plain cargo release build embeds the
  frontend instead of pointing at the dev server
2026-11-27 18:27:09 +01:00

43 lines
1.1 KiB
TOML

[package]
name = "knock-app"
description = "knock, a desktop API client"
version.workspace = true
edition.workspace = true
license.workspace = true
default-run = "knock-app"
[lib]
name = "knock_app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
knock-core.workspace = true
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml_ng.workspace = true
indexmap.workspace = true
tokio.workspace = true
uuid.workspace = true
chrono.workspace = true
url.workspace = true
base64.workspace = true
tracing.workspace = true
tauri = { version = "2", features = [] }
tauri-plugin-dialog = "2"
tauri-plugin-opener = "2"
tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
tauri-plugin-deep-link = "2"
rusqlite = { version = "0.37", features = ["bundled"] }
notify = "8"
futures-util = "0.3"
regex = "1"
tokio-tungstenite = "0.30"
[features]
# Embeds the built frontend; the Tauri CLI turns it on for release builds.
custom-protocol = ["tauri/custom-protocol"]