mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "1.28.2",
 | |
|     "description": "Manage multiple rust installations with ease",
 | |
|     "homepage": "https://rustup.rs",
 | |
|     "license": "MIT|Apache-2.0",
 | |
|     "notes": [
 | |
|         "This package defaults to using the MSVC toolchain in new installs; use \"rustup set default-host\" to configure it",
 | |
|         "(now equivalent to the rustup package)",
 | |
|         "According to https://doc.rust-lang.org/book/ch01-01-installation.html#installing-rustup-on-windows",
 | |
|         "Microsoft C++ Build Tools is needed and can be downloaded here: https://visualstudio.microsoft.com/visual-cpp-build-tools/",
 | |
|         "When installing build tools, these two components should be selected:",
 | |
|         "- MSVC - VS C++ x64/x86 build tools",
 | |
|         "- Windows SDK"
 | |
|     ],
 | |
|     "architecture": {
 | |
|         "64bit": {
 | |
|             "url": "https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe",
 | |
|             "hash": "88d8258dcf6ae4f7a80c7d1088e1f36fa7025a1cfd1343731b4ee6f385121fc0"
 | |
|         },
 | |
|         "32bit": {
 | |
|             "url": "https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe",
 | |
|             "hash": "d33375f474f105e529ff3225529a8d6a79a8a4e23f6eab88fba427889e538f34"
 | |
|         },
 | |
|         "arm64": {
 | |
|             "url": "https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe",
 | |
|             "hash": "de9f7d29ccd39efa59a3dda3ec363b396e09b92681229b9b8f6aaa4c84285e9c"
 | |
|         }
 | |
|     },
 | |
|     "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"
 | |
|         ]
 | |
|     },
 | |
|     "env_add_path": ".cargo\\bin",
 | |
|     "env_set": {
 | |
|         "CARGO_HOME": "$persist_dir\\.cargo",
 | |
|         "RUSTUP_HOME": "$persist_dir\\.rustup"
 | |
|     },
 | |
|     "persist": [
 | |
|         ".cargo",
 | |
|         ".rustup"
 | |
|     ],
 | |
|     "checkver": {
 | |
|         "url": "https://sh.rustup.rs",
 | |
|         "regex": "rustup-init ([\\d.]+) \\("
 | |
|     },
 | |
|     "autoupdate": {
 | |
|         "architecture": {
 | |
|             "64bit": {
 | |
|                 "url": "https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe"
 | |
|             },
 | |
|             "32bit": {
 | |
|                 "url": "https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe"
 | |
|             },
 | |
|             "arm64": {
 | |
|                 "url": "https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe"
 | |
|             }
 | |
|         },
 | |
|         "hash": {
 | |
|             "url": "$url.sha256"
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)