feat(protocol): parse and validate binary packet headers

This commit is contained in:
Stanislav N Mikhailov
2026-07-21 22:57:50 +03:00
parent 9f2d7f635e
commit 0f2cb0384c
5 changed files with 120 additions and 54 deletions
Generated
+16
View File
@@ -163,6 +163,12 @@ version = "0.4.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
[[package]]
name = "memchr"
version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "mio"
version = "1.2.1"
@@ -208,10 +214,20 @@ name = "nocloud-core"
version = "0.1.0"
dependencies = [
"local-ip-address",
"nom",
"thiserror",
"tokio",
]
[[package]]
name = "nom"
version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
dependencies = [
"memchr",
]
[[package]]
name = "parking_lot"
version = "0.12.5"