-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (40 loc) · 1.14 KB
/
Cargo.toml
File metadata and controls
44 lines (40 loc) · 1.14 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
[package]
name = "php-version-manager"
version = "1.0.4"
edition = "2024"
description = "A blazing fast, zero-configuration PHP version manager"
repository = "https://github.com/WebProject-xyz/php-version-manager"
license = "GPL-3.0-or-later"
[[bin]]
name = "pvm"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.102"
clap = { version = "4.5.60", features = ["derive"] }
colored = "3.1.1"
dialoguer = "0.12.0"
dirs = "6.0.0"
env_logger = "0.11.9"
flate2 = "1.1.9"
indicatif = "0.18.4"
log = "0.4.29"
regex = "1.12.3"
reqwest = { version = "0.13.2", features = ["stream", "rustls"] }
scraper = "0.25.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tar = "0.4.45"
thiserror = "2.0.18"
tokio = { version = "1.49.0", features = ["full"] }
[dev-dependencies]
assert_cmd = "2.1.2"
mockito = "1.7.2"
predicates = "3.1.4"
tempfile = "3.25.0"
# Optimize for binary size and performance
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Maximize size reduction
panic = "abort" # Remove panic unwinding
strip = true # Strip symbols from binary