mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
51 lines
2.0 KiB
JSON
51 lines
2.0 KiB
JSON
{
|
|
"homepage": "https://rustup.rs",
|
|
"version": "1.21.1",
|
|
"license": "MIT|Apache-2.0",
|
|
"description": "Manage multiple rust installations with ease",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/1.21.1/x86_64-pc-windows-gnu/rustup-init.exe",
|
|
"hash": "d17df34ba974b9b19cf5c75883a95475aa22ddc364591d75d174090d55711c72"
|
|
},
|
|
"32bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/1.21.1/i686-pc-windows-gnu/rustup-init.exe",
|
|
"hash": "eb4fef7ba86a5e39f4a9837102ad34f077be864b80c0b8963cf19ff8897cc66a"
|
|
}
|
|
},
|
|
"persist": [
|
|
".cargo",
|
|
".rustup"
|
|
],
|
|
"env_add_path": ".cargo\\bin",
|
|
"env_set": {
|
|
"CARGO_HOME": "$persist_dir\\.cargo",
|
|
"RUSTUP_HOME": "$persist_dir\\.rustup"
|
|
},
|
|
"installer": {
|
|
"script": [
|
|
"[Environment]::SetEnvironmentVariable('CARGO_HOME', \"$persist_dir\\.cargo\", 'Process')",
|
|
"[Environment]::SetEnvironmentVariable('RUSTUP_HOME', \"$persist_dir\\.rustup\", 'Process')",
|
|
"Invoke-ExternalCommand -Path \"$dir\\rustup-init.exe\" -Args '-y --no-modify-path' | Out-Null"
|
|
]
|
|
},
|
|
"checkver": {
|
|
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
|
"regex": "version = \"([\\d.]+)\""
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/$version/x86_64-pc-windows-gnu/rustup-init.exe"
|
|
},
|
|
"32bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/$version/i686-pc-windows-gnu/rustup-init.exe"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
},
|
|
"notes": "To use the MSVC ABI without Visual Studio 2015 (or higher) installed, you will need the Visual Studio 2017 Build Tools: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017"
|
|
}
|