Those features are implemented using AsyncFD. While write doesn't require a mutable reference to self, read does. Make Async Tun a feature remove async tun from workspace rename write/read to send/recv
23 lines
No EOL
659 B
JSON
23 lines
No EOL
659 B
JSON
{
|
|
"files.autoSave": "onFocusChange",
|
|
"files.defaultLanguage": "rust",
|
|
"editor.formatOnPaste": true,
|
|
"editor.formatOnSave": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"editor.suggest.preview": true,
|
|
"editor.acceptSuggestionOnEnter": "on",
|
|
"rust-analyzer.restartServerOnConfigChange": true,
|
|
"rust-analyzer.cargo.features": "all",
|
|
"rust-analyzer.check.overrideCommand": [
|
|
"cargo",
|
|
"clippy",
|
|
"--fix",
|
|
"--workspace",
|
|
"--message-format=json",
|
|
"--all-targets",
|
|
"--allow-dirty"
|
|
],
|
|
"[rust]": {
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
|
}
|
|
} |