Skip to content

Commit

Permalink
Bump deku version in benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed Jul 25, 2024
1 parent 0e32e48 commit 0537dd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ publish = false

[dependencies]
bin-proto = { path = "../bin-proto" }
deku = "0.16"
deku = "0.17"
4 changes: 2 additions & 2 deletions bench/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mod enum_ {
use deku::prelude::*;

#[derive(Debug, PartialEq, DekuRead, DekuWrite)]
#[deku(type = "u8")]
#[deku(id_type = "u8")]
enum E {
#[deku(id = "0")]
V0,
Expand Down Expand Up @@ -270,7 +270,7 @@ mod ipv4 {
use deku::prelude::*;

#[derive(Debug, PartialEq, DekuRead, DekuWrite)]
#[deku(type = "u8")]
#[deku(id_type = "u8")]
#[deku(bits = 4)]
enum Version {
#[deku(id = "4")]
Expand Down

0 comments on commit 0537dd4

Please sign in to comment.