|
| 1 | +{ |
| 2 | + "version": "1.24.3", |
| 3 | + "description": "Manage multiple rust installations with ease", |
| 4 | + "homepage": "https://rustup.rs", |
| 5 | + "license": { |
| 6 | + "identifier": "MIT|Apache-2.0", |
| 7 | + "url": "https://github.com/rust-lang/rustup#license" |
| 8 | + }, |
| 9 | + "changelog": "https://github.com/rust-lang/rustup/blob/master/CHANGELOG.md#changelog", |
| 10 | + "architecture": { |
| 11 | + "64bit": { |
| 12 | + "url": "https://static.rust-lang.org/rustup/archive/1.24.3/x86_64-pc-windows-msvc/rustup-init.exe", |
| 13 | + "hash": "780b445ee18bdc5a31ad6a4a63943927e5c0bba8bff664e8ecc8d5bca3906c7b" |
| 14 | + }, |
| 15 | + "32bit": { |
| 16 | + "url": "https://static.rust-lang.org/rustup/archive/1.24.3/i686-pc-windows-msvc/rustup-init.exe", |
| 17 | + "hash": "33ddb81079f94150e162fa00a84a00ff4649419fce5aa54116cb4147785732d1" |
| 18 | + }, |
| 19 | + "arm64": { |
| 20 | + "url": "https://static.rust-lang.org/rustup/archive/1.24.3/aarch64-pc-windows-msvc/rustup-init.exe", |
| 21 | + "hash": "33ddb81079f94150e162fa00a84a00ff4649419fce5aa54116cb4147785732d1" |
| 22 | + } |
| 23 | + }, |
| 24 | + "installer": { |
| 25 | + "script": [ |
| 26 | + "[Environment]::SetEnvironmentVariable('CARGO_HOME', \"$persist_dir\\.cargo\", 'Process')", |
| 27 | + "[Environment]::SetEnvironmentVariable('RUSTUP_HOME', \"$persist_dir\\.rustup\", 'Process')", |
| 28 | + "Invoke-ExternalCommand -Path \"$dir\\rustup-init.exe\" -Args '-y', '--no-modify-path' | Out-Null" |
| 29 | + ] |
| 30 | + }, |
| 31 | + "env_add_path": ".cargo\\bin", |
| 32 | + "env_set": { |
| 33 | + "CARGO_HOME": "$persist_dir\\.cargo", |
| 34 | + "RUSTUP_HOME": "$persist_dir\\.rustup" |
| 35 | + }, |
| 36 | + "persist": [ |
| 37 | + ".cargo", |
| 38 | + ".rustup" |
| 39 | + ], |
| 40 | + "checkver": { |
| 41 | + "url": "https://raw.githubusercontent.com/rust-lang/rustup.rs/master/Cargo.toml", |
| 42 | + "regex": "version\\s*=\\s*\"([\\d.]+)\"" |
| 43 | + }, |
| 44 | + "autoupdate": { |
| 45 | + "architecture": { |
| 46 | + "64bit": { |
| 47 | + "url": "https://static.rust-lang.org/rustup/archive/$version/x86_64-pc-windows-msvc/rustup-init.exe" |
| 48 | + }, |
| 49 | + "32bit": { |
| 50 | + "url": "https://static.rust-lang.org/rustup/archive/$version/i686-pc-windows-msvc/rustup-init.exe" |
| 51 | + }, |
| 52 | + "arm64": { |
| 53 | + "url": "https://static.rust-lang.org/rustup/archive/$version/aarch64-pc-windows-msvc/rustup-init.exe" |
| 54 | + } |
| 55 | + }, |
| 56 | + "hash": { |
| 57 | + "url": "$url.sha256" |
| 58 | + } |
| 59 | + } |
| 60 | +} |
0 commit comments