feat(protocol): add initial parser for common message header

This commit is contained in:
Stanislav N Mikhailov
2026-07-18 21:58:32 +03:00
parent 359337bc10
commit 9f2d7f635e
5 changed files with 223 additions and 38 deletions
Generated
+21
View File
@@ -208,6 +208,7 @@ name = "nocloud-core"
version = "0.1.0"
dependencies = [
"local-ip-address",
"thiserror",
"tokio",
]
@@ -346,6 +347,26 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "thiserror"
version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tokio"
version = "1.52.3"