diff --git a/src/rust/devcontainer-feature.json b/src/rust/devcontainer-feature.json index 8ee423050..ae67e0bdc 100644 --- a/src/rust/devcontainer-feature.json +++ b/src/rust/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "rust", - "version": "1.3.2", + "version": "1.3.3", "name": "Rust", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust", "description": "Installs Rust, common Rust utilities, and their required dependencies", @@ -10,6 +10,14 @@ "proposals": [ "latest", "none", + "1.87", + "1.86", + "1.85", + "1.84", + "1.83", + "1.82", + "1.81", + "1.80", "1.79", "1.78", "1.77", @@ -25,10 +33,7 @@ "1.67", "1.66", "1.65", - "1.64", - "1.63", - "1.62", - "1.61" + "1.64" ], "default": "latest", "description": "Select or enter a version of Rust to install." diff --git a/src/rust/install.sh b/src/rust/install.sh index 1025e46bb..d89fbe492 100755 --- a/src/rust/install.sh +++ b/src/rust/install.sh @@ -203,7 +203,7 @@ if [ "${UPDATE_RUST}" = "true" ]; then rustup update 2>&1 fi echo "Installing common Rust dependencies..." -rustup component add rls rust-analysis rust-src rustfmt clippy 2>&1 +rustup component add rust-analyzer rust-src rustfmt clippy 2>&1 if [ -n "${RUSTUP_TARGETS}" ]; then IFS=',' read -ra targets <<< "${RUSTUP_TARGETS}" diff --git a/test/rust/rust_at_pinned_version.sh b/test/rust/rust_at_pinned_version.sh index 2954a7acb..e7adf7d1f 100644 --- a/test/rust/rust_at_pinned_version.sh +++ b/test/rust/rust_at_pinned_version.sh @@ -8,7 +8,7 @@ source dev-container-features-test-lib # Definition specific tests check "cargo version" cargo --version check "rustc version" rustc --version -check "correct rust version" rustc --version | grep 1.62.0 +check "correct rust version" rustc --version | grep 1.64.0 # Report result diff --git a/test/rust/scenarios.json b/test/rust/scenarios.json index de037cd29..c3466b29b 100644 --- a/test/rust/scenarios.json +++ b/test/rust/scenarios.json @@ -3,7 +3,7 @@ "image": "ubuntu:focal", "features": { "rust": { - "version": "1.62.0" + "version": "1.64.0" } } },