-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (38 loc) · 1.21 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (38 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "crontab"
version = "0.2.12"
edition = "2021"
rust-version = "1.77"
description = "A small Windows tray app that runs commands on a schedule"
license = "MIT"
repository = "https://github.com/evil1morty/crontab"
readme = "README.md"
keywords = ["cron", "scheduler", "tauri", "tray", "windows"]
categories = ["command-line-utilities", "gui"]
authors = ["evil1morty"]
default-run = "crontab"
[build-dependencies]
tauri-build = { version = "2", features = [] }
image = { version = "0.25", default-features = false, features = ["png", "ico"] }
[dependencies]
tauri = { version = "2", features = ["tray-icon"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
cron = "0.12"
chrono = { version = "0.4", features = ["serde"] }
toml = "0.8"
directories = "5"
anyhow = "1"
[target.'cfg(windows)'.dependencies]
winreg = "0.52"
# Single-instance enforcement: a 2nd launch forwards its argv to the
# running instance (which focuses its window) instead of starting another
# scheduler thread + tray icon.
[target.'cfg(any(windows, target_os = "macos", target_os = "linux"))'.dependencies]
tauri-plugin-single-instance = "2"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"