Skip to content

Commit

Permalink
Disable file sink and files bench
Browse files Browse the repository at this point in the history
Signed-off-by: MOZGIII <mike-n@narod.ru>
  • Loading branch information
MOZGIII committed Feb 27, 2020
1 parent eea5547 commit dd5c922
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ criterion_main!(
buffering::buffers,
http::http,
batch::batch,
files::files,
/* files::files, */
lua::lua,
event::event
);
Expand Down
2 changes: 2 additions & 0 deletions benches/files.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(feature = "disabled")]

use bytes::Bytes;
use criterion::{criterion_group, Benchmark, Criterion, Throughput};
use futures01::{sink::Sink, stream::Stream, Future};
Expand Down
2 changes: 2 additions & 0 deletions src/sinks/file/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(feature = "disabled")]

mod file;

use self::file::File;
Expand Down

0 comments on commit dd5c922

Please sign in to comment.