Generate packet offsets for versioned messages (#19138)

* Add support for generating packet offsets for new versioned message

* Remove outdated test

* match over version
This commit is contained in:
Justin Starry
2021-08-16 17:55:15 -07:00
committed by GitHub
parent 9be988db41
commit fd33f523ab
2 changed files with 77 additions and 26 deletions

View File

@ -5,6 +5,7 @@ mod v0;
mod versions;
pub use legacy::Message;
pub use versions::MESSAGE_VERSION_PREFIX;
pub const MESSAGE_HEADER_LENGTH: usize = 3;