-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (61 loc) · 1.87 KB
/
Cargo.toml
File metadata and controls
73 lines (61 loc) · 1.87 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "gwf"
version = "0.1.0"
edition = "2021"
authors = ["Nonanti"]
description = "Git Workflow Automator - Streamline your Git workflows with ease"
documentation = "https://github.com/Nonanti/gwf-cli"
homepage = "https://github.com/Nonanti/gwf-cli"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Nonanti/gwf-cli"
keywords = ["git", "workflow", "automation", "cli", "productivity"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# CLI framework
clap = { version = "4.5", features = ["derive", "cargo", "env"] }
clap_complete = "4.5" # Shell completions
# Git operations
git2 = "0.20"
# Async runtime
tokio = { version = "1.39", features = ["full"] }
# Terminal UI
indicatif = "0.17" # Progress bars
colored = "2.1" # Colored output
dialoguer = "0.11" # Interactive prompts
console = "0.15" # Terminal handling
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
# Utilities
dirs = "5.0" # User directories
which = "6.0" # Find executables
semver = "1.0" # Version parsing
regex = "1.10"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } # Date/time handling
atty = "0.2" # Terminal detection
webbrowser = "1.0" # Open browser
urlencoding = "2.1" # URL encoding
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
tempfile = "3.10"
pretty_assertions = "1.4"
mockall = "0.12"
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Link Time Optimization
codegen-units = 1 # Single codegen unit for better optimization
strip = true # Strip symbols
panic = "abort" # Smaller binary size
[lib]
name = "gwf"
path = "src/lib.rs"
[[bin]]
name = "gwf"
path = "src/main.rs"