summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-30Use with_capacity as it's known by now.Sunil Nimmagadda
2024-01-23Note about as_chunks API.Sunil Nimmagadda
2024-01-17Still confused by lsb/msb.Sunil Nimmagadda
2024-01-17Replace nom with std::io::CursorSunil Nimmagadda
std::io::Cursor suffices to parse the packet.
2024-01-10Recover a lost doc test.Sunil Nimmagadda
2024-01-06Fix clippy warnings.Sunil Nimmagadda
2024-01-02Rectify checksum calculation.Sunil Nimmagadda
Add some tests found in RFC1071 as examples.
2023-12-28Refactor parser.Sunil Nimmagadda
Simplify error handling and provide better error Enum to report parsing errors accurately.
2023-01-07Shuffle code for clarity.Sunil Nimmagadda
2023-01-05Note about avoiding mutability.Sunil Nimmagadda
2023-01-04Leave a note of a nightly feature feedback received on discord.Sunil Nimmagadda
2023-01-03Validate checksum.Sunil Nimmagadda
2023-01-01A skeletal state machine, wip.Sunil Nimmagadda
2023-01-01Implement a VRRPv2 packet parser.Sunil Nimmagadda
Use nom parser combinator crate to parse a VRRPv2 packet. TODO: checksum verification and checksum tests.
2022-12-07Module to parse(unimplemented) VRRPv2 packet.Sunil Nimmagadda
Define a struct and its related enums.
2022-12-07Idiomatic imports with use.Sunil Nimmagadda
This is not C and the line limit is 100 by default. Adjusting whitespace-line-column in emacs and let rustfmt handle wrapping long lines.
2022-11-28Use expect here too.Sunil Nimmagadda
2022-11-28Shorten line length.Sunil Nimmagadda
2022-11-28Backed out changeset 50156c8f38b0Sunil Nimmagadda
2022-11-28Move main.rs to bin.Sunil Nimmagadda
2022-11-28expect instead of unwrap.Sunil Nimmagadda
2022-11-28Let's begin.Sunil Nimmagadda
A skeletal async structure that provides two distinct timers and a signal handler using tokio.