···99use futures::stream::Stream;
1010use tokio::io::AsyncRead;
11111212-use crate::stream::read_chunk_async;
1212+use crate::io::read_chunk_async;
13131414/// Splits a streams into content-defined chunks.
1515///
+2-2
attic/src/lib.rs
···2424pub mod mime;
2525pub mod nix_store;
2626pub mod signing;
2727-#[cfg(feature = "stream")]
2828-pub mod stream;
2727+#[cfg(feature = "io")]
2828+pub mod io;
2929#[cfg(target_family = "unix")]
3030pub mod testing;
3131#[cfg(feature = "tokio")]
···19192020use super::{Download, RemoteFile, StorageBackend};
2121use crate::error::{ErrorKind, ServerError, ServerResult};
2222-use attic::stream::read_chunk_async;
2222+use attic::io::read_chunk_async;
2323use attic::util::Finally;
24242525/// The chunk size for each part in a multipart upload.