summaryrefslogtreecommitdiff
path: root/features/src/rust/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'features/src/rust/devcontainer-feature.json')
-rw-r--r--features/src/rust/devcontainer-feature.json67
1 files changed, 67 insertions, 0 deletions
diff --git a/features/src/rust/devcontainer-feature.json b/features/src/rust/devcontainer-feature.json
new file mode 100644
index 0000000..8e855c1
--- /dev/null
+++ b/features/src/rust/devcontainer-feature.json
@@ -0,0 +1,67 @@
+{
+ "id": "rust",
+ "version": "1.1.1",
+ "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.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."
+ }
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "vadimcn.vscode-lldb",
+ "rust-lang.rust-analyzer",
+ "tamasfe.even-better-toml",
+ "serayuzgur.crates"
+ ],
+ "settings": {
+ "files.watcherExclude": {
+ "**/target/**": true
+ }
+ }
+ }
+ },
+ "containerEnv": {
+ "CARGO_HOME": "/usr/local/cargo",
+ "RUSTUP_HOME": "/usr/local/rustup",
+ "PATH": "/usr/local/cargo/bin:${PATH}"
+ },
+ "capAdd": [
+ "SYS_PTRACE"
+ ],
+ "securityOpt": [
+ "seccomp=unconfined"
+ ],
+ "installsAfter": [
+ "https://gitrepo.ru/api/packages/NeonXP/generic/features/latest/devcontainer-feature-common-utils.tgz"
+ ]
+}