-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (34 loc) · 1.13 KB
/
Copy pathCargo.toml
File metadata and controls
39 lines (34 loc) · 1.13 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
[package]
name = "frd"
version = "0.2.0"
edition = "2024"
description = "Speed up local Rust builds and shrink target/ with interactive cargo and profile tuning"
license = "MIT"
repository = "https://github.com/cs50victor/fast-rust-dev"
readme = "README.md"
keywords = ["cargo", "build", "performance", "disk", "optimization"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
anyhow = "1.0.102"
clap = { version = "4.6.1", features = ["derive"] }
cliclack = "0.5.4"
console = "0.16.3"
dirs = "6.0.0"
jwalk = "0.8.1"
similar = "3.1.1"
# Pinned to 0.36 on purpose: it has MSRV 1.75 (below our edition-2024 floor, so no cost),
# while 0.37+ raises the MSRV and 0.39 needs Rust 1.95. Only RAM and disk facts are used.
sysinfo = { version = "0.36", default-features = false, features = ["system", "disk"] }
toml_edit = "0.25.12"
# frd recommends `strip` to the projects it tunes, so it ships its own binaries stripped too.
[profile.release]
strip = true
[profile.dev]
debug = "line-tables-only"
split-debuginfo = "unpacked"
[profile.dev.package."*"]
opt-level = 2
[profile.fast-build]
inherits = "dev"
debug = 0
strip = "debuginfo"