diff --git a/podman/rustinstall.sh b/podman/rustinstall.sh index 3cdd6864..3730d04d 100755 --- a/podman/rustinstall.sh +++ b/podman/rustinstall.sh @@ -3,7 +3,7 @@ # This script install the Rust toolchain and the build system dependencies # in Podman after the image has been built -curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable +curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal curl -sSLf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash cargo +stable binstall --no-confirm --force --version 0.10.0 sccache diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e34f9fb8..65eb2271 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] channel = "nightly-2025-01-12" -components = ["rust-src"] +components = ["rust-src", "rustfmt", "clippy"] +profile = "minimal"