rink-rs/Cargo.toml
Tiffany Bennett 6ce8d91b97
Dependencies cleanup (#163)
- Set `default-features=false` where applicable
- Use specific num libraries instead of the top-level crate, as some
parts like complex numbers are not used.
- Replace reqwest with curl, which links the system libcurl and libssl
when possible.
- Add `opt-level="z"` and enable LTO for release builds.

All these changes combined, the CLI binary goes from 10.7 megabytes (or
8.7 manually stripped) to 5.4 megabytes.

The wasm binary is unaffected, still around 2.3 megabytes.
2024-03-31 14:34:09 -07:00

8 lines
145 B
TOML

[workspace]
members = ["core", "rink-js", "sandbox", "cli"]
default-members = ["cli"]
[profile.release]
strip = true
opt-level = "z"
lto = true