-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (27 loc) · 751 Bytes
/
Copy pathCargo.toml
File metadata and controls
35 lines (27 loc) · 751 Bytes
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
[package]
name = "mein-cli-template"
version = "0.1.0"
edition = "2024" # Nutze die aktuelle Version für moderne Features
[dependencies]
# CLI Parsing & Argumente
clap = { version = "4.5", features = ["derive", "env", "cargo"] }
# Fehlerbehandlung
anyhow = "1.0"
thiserror = "2.0"
# UI, Farben & Terminal-UX
dialoguer = "0.12"
indicatif = "0.18"
anstream = "1.0"
# Konfiguration & Datenverarbeitung
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
directories = "6.0"
# Strukturiertes Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Optimierungen für eine winzige und extrem schnelle CLI-Binärdatei
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true