Skip to content
43 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

preparing for cloud work1[package]
2name = "g1t-desktop"
3version = "0.1.0"
4edition = "2024"
5license = "MIT"
6repository = "https://g1t.sh/flagon-io/g1t"
7description = "The g1t desktop app: g1t in a window of its own, with native notifications, a badge, a tray, g1t:// links and updates that install themselves."
8
9# Not a member of the repository's Cargo workspace (its Cargo.toml excludes
10# this folder): Tauri needs a toolkit the services never do, so it builds
11# on its own, with its own lockfile, and `cargo test --workspace` stays
12# fast. Build it from apps/desktop with `npm run build`.
13[workspace]
14
15[build-dependencies]
16tauri-build = { version = "2", features = [] }
17
18[dependencies]
19tauri = { version = "2", features = ["tray-icon", "image-png"] }
20# Updates: a signed manifest at g1t.sh/downloads/desktop/latest.json.
21tauri-plugin-updater = "2"
22# Native notifications, from the site's live feed.
23tauri-plugin-notification = "2"
24# Links out, opened in the browser the system uses.
25tauri-plugin-opener = "2"
26# g1t:// links, which open the page they name; a second launch hands its
27# link to the app already running.
28tauri-plugin-deep-link = "2"
29tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
30# The window's size and place, kept between launches.
31tauri-plugin-window-state = "2"
32serde = { version = "1", features = ["derive"] }
33serde_json = "1"
34url = "2"
35# Whether the server answers, before the window goes there (the same client the updater brings).
36reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
37tokio = { version = "1", features = ["time"] }
38
39[profile.release]
40strip = "debuginfo"
41lto = "thin"
42opt-level = "s"
43codegen-units = 1