From 9bbbe7ebd561798d40a7b48fe125873f422867dd Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 16 Oct 2018 08:21:23 -0700 Subject: [PATCH] Disable length_delimited deprecation warning. (#321) Until tokio-rs/tokio#680 is resolved, we should allow using deprecated APIs in the codec module. --- src/codec/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/codec/mod.rs b/src/codec/mod.rs index 0f8acbf..d3673e1 100644 --- a/src/codec/mod.rs +++ b/src/codec/mod.rs @@ -1,3 +1,6 @@ +// Until tokio-rs/tokio#680 is fixed +#![allow(deprecated)] + mod error; mod framed_read; mod framed_write;