mirror of
https://github.com/Raine-gay/royal_road_archiver.git
synced 2024-11-27 01:18:41 -06:00
Updated release settings in cargo,toml
This commit is contained in:
parent
cb265a9d9e
commit
55db7dce5c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/target
|
||||
/release
|
|
@ -5,6 +5,13 @@ edition = "2021"
|
|||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # Optimize for size
|
||||
lto = true # Enable link-time optimization
|
||||
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
||||
panic = 'unwind' # unwind on panic.
|
||||
strip = true # Strip symbols from binary. Gives significant space reductions
|
||||
|
||||
[lib]
|
||||
name = "royal_road_archiver_lib"
|
||||
path = "src/library.rs"
|
||||
|
|
Loading…
Reference in a new issue