17 releases (10 breaking)

0.20.0-alpha.3 Jun 10, 2022
0.19.0 Jun 3, 2022
0.13.0 Jan 19, 2022
0.12.0 Dec 24, 2021
0.11.3 Oct 21, 2021

#39 in #local-file

45 downloads per month

Apache-2.0/MIT

660KB
16K SLoC

CONcurrent DOWnloads for local files

Simulates concurrent downloads by using the local file system. This is mainly for testing and experimenting.

License

Condow is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

License: Apache-2.0/MIT


lib.rs:

CONcurrent DOWnloads for local files

Load parts of files concurrently.

This is mostly for testing and experimenting. In most cases it is better to load sequentially from disks.


use condow_fs::*;
use condow_fs::config::Config;

let condow = FsClient::condow(Config::default()).unwrap();

let stream = condow.blob().at(String::from("my_file")).range(23..46).download().await.unwrap();
let downloaded_bytes: Vec<u8> = stream.into_vec().await.unwrap();

Dependencies

~3.5–5.5MB
~92K SLoC