diff --git a/src/channel.rs b/src/channel.rs index ccc10e9..689d928 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -5,7 +5,6 @@ use std::io::{BufRead, BufReader, BufWriter, Write}; use std::net::{TcpStream, ToSocketAddrs}; const DEFAULT_SONIC_PROTOCOL_VERSION: usize = 1; -const MAX_LINE_BUFFER_SIZE: usize = 20000; const UNINITIALIZED_MODE_MAX_BUFFER_SIZE: usize = 200; macro_rules! init_commands { diff --git a/src/lib.rs b/src/lib.rs index 9ff9d34..b0e6382 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,7 +72,6 @@ //! [sonic]: https://github.com/valeriansaliou/sonic // Rustc lints. -#![allow(dead_code)] #![deny( missing_debug_implementations, unsafe_code,