In order to make the fly launch
process smoother for Rust users we’ve added a Rust scanner to flyctl
.
Under the hood we generate a Dockerfile for you based on the wonderful cargo chef project. This is compatible with most rust web frameworks. The first build will generally take longer, but thanks to the cargo chef
image every subsequent build/deploy cycle will be much faster. In addition the image size is very small, often coming in at around ~80MB.
You can check out speedruns for some of the more downloaded frameworks:
You can upgrade your fly
version using fly version upgrade