-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqtt-beacon.code-workspace
62 lines (62 loc) · 1.46 KB
/
mqtt-beacon.code-workspace
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
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
"rust-analyzer.inlayHints.enable": false
// "rust-analyzer.cargo.target": "armv7-unknown-linux-gnueabihf"
// "rust-analyzer.cargo.features": ["arm"]
},
"launch": {
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "MQTT Beacon",
"preLaunchTask": "build",
"program": "${workspaceRoot:mqtt-beacon}/target/debug/mqtt-beacon",
"cwd": "${workspaceRoot:mqtt-beacon}",
"sourceLanguages": ["rust"],
"terminal": "integrated",
"console": "integratedTerminal",
"env": {
"RUST_LOG": "debug"
}
}
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
"isDefault": true
},
"label": "build",
"options": {
"cwd": "${workspaceRoot:mqtt-beacon}"
}
},
{
"type": "cargo",
"command": "check",
"problemMatcher": ["$rustc"],
"label": "check",
"options": {
"cwd": "${workspaceRoot:mqtt-beacon}"
}
}
]
}
}