-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
21 lines (19 loc) · 976 Bytes
/
Copy pathCargo.toml
File metadata and controls
21 lines (19 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[package]
name = "dumpf"
version = "1.2.2"
edition = "2021"
authors = ["Nicolas Djurovic <flaithotw@gmail.com>"]
description = "Let's dump a file with the hexa and ascii values | 2o25o129-2o251119"
[dependencies]
clap = { version = "4.5.52", features = ["cargo"] }
[profile.release]
opt-level = "z" # Optimize for size.
# Note that in some cases the "s" level may result in a smaller binary than "z", as explained in the opt-level documentation:
# https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level
lto = true # Enable Link Time Optimization
# By default, Cargo specifies 16 parallel codegen units for release builds. This improves compile times,
# but prevents some optimizations.
# Set this to 1 in Cargo.toml to allow for maximum size reduction optimizations
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = true # Automatically strip symbols from the binary.