-
Notifications
You must be signed in to change notification settings - Fork 441
/
Copy pathdevcontainer-feature.json
90 lines (90 loc) · 2.65 KB
/
devcontainer-feature.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"id": "rust",
"version": "1.3.2",
"name": "Rust",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust",
"description": "Installs Rust, common Rust utilities, and their required dependencies",
"options": {
"version": {
"type": "string",
"proposals": [
"latest",
"none",
"1.79",
"1.78",
"1.77",
"1.76",
"1.75",
"1.74",
"1.73",
"1.72",
"1.71",
"1.70",
"1.69",
"1.68",
"1.67",
"1.66",
"1.65",
"1.64",
"1.63",
"1.62",
"1.61"
],
"default": "latest",
"description": "Select or enter a version of Rust to install."
},
"profile": {
"type": "string",
"proposals": [
"minimal",
"default",
"complete"
],
"default": "minimal",
"description": "Select a rustup install profile."
},
"targets": {
"type": "string",
"default": "",
"description": "Optional comma separated list of additional Rust targets to install.",
"proposals": [
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-redox,x86_64-unknown-uefi"
]
}
},
"customizations": {
"vscode": {
"extensions": [
"vadimcn.vscode-lldb",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml"
],
"settings": {
"files.watcherExclude": {
"**/target/**": true
},
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "This dev container includes Rust, common Rust utilities, and needed dependencies pre-installed and available on the `PATH`, along with the Rust language extension for Rust development."
}
]
}
}
},
"containerEnv": {
"CARGO_HOME": "/usr/local/cargo",
"RUSTUP_HOME": "/usr/local/rustup",
"PATH": "/usr/local/cargo/bin:${PATH}"
},
"capAdd": [
"SYS_PTRACE"
],
"securityOpt": [
"seccomp=unconfined"
],
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils"
]
}