mirror of https://github.com/spikecodes/libreddit
build: enable LTO, set codegen-unit to 1 and strip the binary
This commit is contained in:
parent
8435b8eab9
commit
e65324fa82
|
@ -25,3 +25,8 @@ tokio = { version = "1.21.2", features = ["full"] }
|
|||
time = "0.3.16"
|
||||
url = "2.3.1"
|
||||
rust-embed = { version = "6.4.2", features = ["include-exclude"] }
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
strip = true
|
||||
|
|
Loading…
Reference in New Issue