vscode

    In all headings RA means RustAnalyzer

    Setting features for RA 🔗

    In .vscode/settings.json add:

    // .vscode/settings.json
    {    
        "rust-analyzer.cargo.features": ["FEATURE1_HERE", "FEATURE2_HERE"],
    }
    

    Setting target for RA 🔗

    See the example for wasm

    Disable default features for RA 🔗

    // .vscode/settings.json
    {    
        "rust-analyzer.cargo.noDefaultFeatures": true
    }