diff --git a/benches/bench.rs b/benches/bench.rs index c7b87cf92ce744..621a3dae8dc4e0 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -36,7 +36,7 @@ criterion_main!( buffering::buffers, http::http, batch::batch, - files::files, + /* files::files, */ lua::lua, event::event ); diff --git a/benches/files.rs b/benches/files.rs index 4891fb99c29c01..d713bf3811a9cb 100644 --- a/benches/files.rs +++ b/benches/files.rs @@ -1,3 +1,5 @@ +#![cfg(feature = "disabled")] + use bytes::Bytes; use criterion::{criterion_group, Benchmark, Criterion, Throughput}; use futures01::{sink::Sink, stream::Stream, Future}; diff --git a/src/sinks/file/mod.rs b/src/sinks/file/mod.rs index 097cbf118dff27..e798c799c0c1ef 100644 --- a/src/sinks/file/mod.rs +++ b/src/sinks/file/mod.rs @@ -1,3 +1,5 @@ +#![cfg(feature = "disabled")] + mod file; use self::file::File;