Cargo Features

get_chunk has no features set by default.

[dependencies]
get_chunk = { version = "1.2.1", features = ["stream", "size_format", "tests", "docs_fix", "debug"] }
stream

Dependencies for asynchronous stream handling with Tokio.

Enables async-trait, tokio, and tokio-stream

Affects chunk::stream

size_format

Dependencies for size formatting using Strum and Strum_macros.
Size formatting provides a convenient way to specify chunk sizes in megabytes, mebibytes, etc., or view file sizes in different formats (bytes, MB, MiB, etc.).

Enables strum and strum_macros

Affects get_chunk::data_size_format

tests

Dependencies for unit tests using Tokio macros and a multi-threaded runtime.

Enables macros and rt-multi-thread of tokio

docs_fix

Enables net of tokio

debug

activates impl debug