Dev keeps its unoptimised dependencies
Browse files at this commit096e7e621050d9fd55f73abf8c06369471bcbebfParent: 07b26bf- revert
- dev keeps its unoptimised dependencies
1 changed file +0 -8
- Cargo.toml +0 -8
Cargo.tomlmodified+0 -8
| @@ -25,14 +25,6 @@ chacha20poly1305 = "0.10.1" | |||
| 25 | base64 = "0.22.1" | 25 | base64 = "0.22.1" |
| 26 | toml = "1" | 26 | toml = "1" |
| 27 | 27 | ||
| 28 | -# A dev build runs the same spreadsheet reader a release build does, and an | ||
| 29 | -# unoptimised quick-xml walks a wide sheet about twenty times slower — a page | ||
| 30 | -# of a 1,200-column book took two seconds to open on `cargo run`. Dependencies | ||
| 31 | -# are compiled optimised even in dev; the workspace's own crates stay | ||
| 32 | -# unoptimised, so an edit still rebuilds in a second. | ||
| 33 | -[profile.dev.package."*"] | ||
| 34 | -opt-level = 3 | ||
| 35 | - | ||
| 36 | [profile.release] | 28 | [profile.release] |
| 37 | codegen-units = 1 | 29 | codegen-units = 1 |
| 38 | lto = true | 30 | lto = true |