This works: New and Improved Rust CDK: First-class support for Rust Canister Development - #26 by roman-kashitsyn
In the next release of Azle a .gz
version of the binary will automatically be produced that you can use to deploy to mainnet. You just need to manually change your dfx.json to point to the .gz
file when deploying to mainnet.