Cargo Features

file-storage has no features set by default.

[dependencies]
file-storage = { version = "0.1.0", features = ["r2"] }
r2 = aws-config, aws-sdk-s3, bytes, dashmap, once_cell

Enables full of tokio

tokio:

enable everything

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.

aws-config r2?
aws-sdk-s3 r2?
bytes r2?
dashmap r2?
once_cell r2?
tokio r2?