-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
executable file
·50 lines (40 loc) · 1 KB
/
Cargo.toml
File metadata and controls
executable file
·50 lines (40 loc) · 1 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
44
45
46
47
48
49
50
[package]
name = "cortex-desktop-cli"
version = "0.1.0"
description = "Command-line interface for Cortex Desktop"
authors = ["Cortex Team"]
license = "Apache-2.0"
repository = "https://github.com/CortexLM/cortex"
edition = "2021"
[[bin]]
name = "cortex"
path = "src/main.rs"
[dependencies]
# CLI argument parsing
clap = { version = "4", features = ["derive", "wrap_help", "string"] }
# Error handling
anyhow = "1"
# URL encoding for deep links
urlencoding = "2"
# Path handling
dunce = "1"
dirs = "6"
# Process management
sysinfo = { version = "0.32", default-features = false, features = ["system"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"