Cargo Features

[dependencies]
s3handler = { version = "0.9.0", default-features = false, features = ["blocking", "tokio-async", "slim"] }
default = blocking, tokio-async

These default features are set whenever s3handler is added without default-features = false somewhere in the dependency tree.

blocking default

Enables blocking of reqwest ^0.11

TODO: use json feature and refact

Affects s3handler::blocking

tokio-async default = async-trait, bytes

Enables fs, macros and rt-multi-thread of tokio

Affects s3handler::tokio_async

slim

"std-async" = []

remove api with duplicate function

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-trait tokio-async
tokio tokio-async
bytes tokio-async