Skip to content

Commit 9bbbe7e

Browse files
authored
Disable length_delimited deprecation warning. (#321)
Until tokio-rs/tokio#680 is resolved, we should allow using deprecated APIs in the codec module.
1 parent 00ca534 commit 9bbbe7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/codec/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Until tokio-rs/tokio#680 is fixed
2+
#![allow(deprecated)]
3+
14
mod error;
25
mod framed_read;
36
mod framed_write;

0 commit comments

Comments
 (0)