51 lines
		
	
	
		
			970 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			970 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
	"name": "Rust",
 | 
						|
	"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
 | 
						|
	"customizations": {
 | 
						|
		"vscode": {
 | 
						|
			"settings": {},
 | 
						|
			"extensions": [
 | 
						|
				"streetsidesoftware.code-spell-checker",
 | 
						|
				"rust-lang.rust-analyzer",  
 | 
						|
				"vadimcn.vscode-lldb"       
 | 
						|
			],
 | 
						|
			
 | 
						|
		
 | 
						|
			"debug": {
 | 
						|
				"configurations": [
 | 
						|
					{
 | 
						|
						"type": "lldb",
 | 
						|
						"request": "launch",
 | 
						|
						"name": "Debug Rust Application",
 | 
						|
						"program": "${workspaceFolder}/target/debug/${workspaceFolderBasename}",
 | 
						|
						"args": [],
 | 
						|
						"cwd": "${workspaceFolder}",
 | 
						|
						"preLaunchTask": "cargo-build"
 | 
						|
					}
 | 
						|
				]
 | 
						|
			},
 | 
						|
			
 | 
						|
			"tasks": {
 | 
						|
				"tasks": [
 | 
						|
					{
 | 
						|
						"type": "cargo",
 | 
						|
						"command": "build",
 | 
						|
						"problemMatcher": [
 | 
						|
							"$rustc"
 | 
						|
						],
 | 
						|
						"group": "build",
 | 
						|
						"label": "cargo-build"
 | 
						|
					}
 | 
						|
				]
 | 
						|
			}
 | 
						|
		}
 | 
						|
	},
 | 
						|
	"portsAttributes": {
 | 
						|
		"8080": {
 | 
						|
			"label": "Rust Application",
 | 
						|
			"onAutoForward": "notify"
 | 
						|
		}
 | 
						|
	},
 | 
						|
 | 
						|
	"postAttachCommand": "cargo build && clear"
 | 
						|
} |