Added initial implementation of IpAddr

This commit is contained in:
2023-01-31 20:58:13 +00:00
parent 0f7eb5a102
commit 2033d9b2b8
4 changed files with 117 additions and 0 deletions

45
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,45 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'subnet_calculator'",
"cargo": {
"args": [
"build",
"--bin=subnet_calculator",
"--package=subnet_calculator"
],
"filter": {
"name": "subnet_calculator",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'subnet_calculator'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=subnet_calculator",
"--package=subnet_calculator"
],
"filter": {
"name": "subnet_calculator",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}