@@ -13,6 +13,7 @@ The minor version will be incremented upon a breaking change and the patch versi
### Features
* cli: Add `--program-keypair` to `anchor deploy` ([#1786](https://github.com/project-serum/anchor/pull/1786)).
+* cli: Add compilation optimizations to cli template ([#1807](https://github.com/project-serum/anchor/pull/1807)).
### Fixes
@@ -19,6 +19,12 @@ members = [
[profile.release]
overflow-checks = true
+lto = "fat"
+codegen-units = 1
+[profile.release.build-override]
+opt-level = 3
+incremental = false
"#
}