-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (39 loc) · 1.28 KB
/
Cargo.toml
File metadata and controls
49 lines (39 loc) · 1.28 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
[package]
name = "rnr"
version = "0.1.0"
edition = "2021"
description = "A cross-platform task runner with zero setup"
license = "MIT"
repository = "https://github.com/CodingWithCalvin/rnr.cli"
keywords = ["task-runner", "build", "automation", "cli"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# CLI argument parsing
clap = { version = "4", features = ["derive"] }
# YAML parsing
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
# Error handling
anyhow = "1"
thiserror = "1"
# Cross-platform support
dirs = "5"
# Interactive prompts
dialoguer = "0.11"
console = "0.15"
# HTTP client for init/upgrade
reqwest = { version = "0.12", features = ["blocking", "rustls-tls", "json"], default-features = false, optional = true }
# JSON parsing for GitHub API
serde_json = "1"
# Async runtime for parallel execution
tokio = { version = "1", features = ["rt-multi-thread", "process", "sync"], optional = true }
[features]
default = ["network", "parallel"]
network = ["reqwest"]
parallel = ["tokio"]
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Link-time optimization
codegen-units = 1 # Single codegen unit for better optimization
panic = "abort" # Abort on panic (smaller binary)
strip = true # Strip symbols