Optimize release build profile
This commit is contained in:
parent
76bcd86117
commit
e56badd200
15
Cargo.toml
15
Cargo.toml
@ -10,3 +10,18 @@ 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