I would like to run this Rust script on my Matrix server but it uses 1.8GB space to build it:
$ du -shc .rustup/ .cargo/ /var/www/rust-synapse-compress-state/
1,2G .rustup/
86M .cargo/
561M /var/www/rust-synapse-compress-state/
1,8G total
I found this CI script that installs Rust on AWS. Could I use this to install a minimal Rust version in my Debian VM where I am low on disk-space? What are the needed bash commands to install this package on Debian? Or is there a better solution?