summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2023-01-01 11:59:24 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2023-01-01 11:59:24 +0530
commit26b293760b4cdee55ae689a6f719b3f83a0d3cde (patch)
tree05e1e4a0d4cd579ecb6149ec6b3e0ba5a92dd216 /Cargo.lock
parenta9f5db10c9916e2fccb2582ed65299335a5ce469 (diff)
Implement a VRRPv2 packet parser.
Use nom parser combinator crate to parse a VRRPv2 packet. TODO: checksum verification and checksum tests.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock17
1 files changed, 17 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index e81a06c..5ae3ddc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -67,6 +67,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
+name = "minimal-lexical"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+
+[[package]]
name = "mio"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -79,6 +85,16 @@ dependencies = [
]
[[package]]
+name = "nom"
+version = "7.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
+dependencies = [
+ "memchr",
+ "minimal-lexical",
+]
+
+[[package]]
name = "num_cpus"
version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -227,6 +243,7 @@ checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3"
name = "vrrpd"
version = "0.1.0"
dependencies = [
+ "nom",
"tokio",
]