Optimize release build profile
This commit is contained in:
parent
76bcd86117
commit
e56badd200
17
Cargo.toml
17
Cargo.toml
@ -9,4 +9,19 @@ edition = "2021"
|
|||||||
openai-api = "0.1.5-alpha.0"
|
openai-api = "0.1.5-alpha.0"
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
openai-api = { path = "./openai-api-rust" }
|
openai-api = { path = "./openai-api-rust" }
|
||||||
|
|
||||||
|
[build]
|
||||||
|
jobs = 1
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
debug = false
|
||||||
|
lto = true
|
||||||
|
debug-assertions = false
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
overflow-checks = false
|
||||||
|
incremental = false
|
||||||
|
strip = true
|
||||||
|
split-debuginfo = "packed"
|
Loading…
x
Reference in New Issue
Block a user