Skip to content

Commit

Permalink
Require Debug for filters
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Sep 12, 2023
1 parent 27f07b6 commit 73b2613
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ntex-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ntex-io"
version = "0.3.3"
version = "0.3.4"
authors = ["ntex contributors <team@ntex.rs>"]
description = "Utilities for encoding and decoding frames"
keywords = ["network", "framework", "async", "futures"]
Expand Down
1 change: 1 addition & 0 deletions ntex-io/src/ioref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ mod tests {
assert_eq!(waiter.await, ());
}

#[derive(Debug)]
struct Counter {
idx: usize,
in_bytes: Rc<Cell<usize>>,
Expand Down
1 change: 1 addition & 0 deletions ntex-io/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ mod tests {
assert_eq!(buf, b"RES".as_ref());
}

#[derive(Debug)]
pub(crate) struct TestFilter;

impl FilterLayer for TestFilter {
Expand Down
2 changes: 1 addition & 1 deletion ntex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ntex-util = "0.3.2"
ntex-bytes = "0.1.19"
ntex-h2 = "0.3.2"
ntex-rt = "0.4.9"
ntex-io = "0.3.3"
ntex-io = "0.3.4"
ntex-tls = "0.3.1"
ntex-tokio = { version = "0.3.0", optional = true }
ntex-glommio = { version = "0.3.0", optional = true }
Expand Down

0 comments on commit 73b2613

Please sign in to comment.