Back to course

Optimizing Rust for Size

Rust for Systems & Web3 Security

Small & Fast

Blockchain storage is expensive. Learn how to reduce binary size using profile settings in Cargo.toml, such as opt-level = "z" and stripping symbols.