aboutsummaryrefslogblamecommitdiff
path: root/src/rust/devcontainer-feature.json
blob: 8a7f5b432906b4cf2485b7054f5ba274c106d68e (plain) (tree)
1
2
3
4
5
6
7
8
9

                 
                       
                   
                                                                                       
                                                                                           


                             


                          


                       
              




                                                                          




                          



                                                             

















                                                             


                                           
                                              
      




                            


                                                     
     
 
{
    "id": "rust",
    "version": "1.0.9",
    "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.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",
                "mutantdino.resourcemonitor",
                "rust-lang.rust-analyzer",
                "tamasfe.even-better-toml",
                "serayuzgur.crates"
            ],
            "settings": {
                "lldb.executable": "/usr/bin/lldb",
                "files.watcherExclude": {
                    "**/target/**": true
                },
                "rust-analyzer.checkOnSave.command": "clippy"
            }
        }
    },
    "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"
    ]
}