Cargo Features

[dependencies]
xvc-storage = { version = "0.6.11", default-features = false, features = ["async", "s3", "minio", "gcs", "wasabi", "r2", "digital-ocean", "bundled-openssl"] }
default = digital-ocean, gcs, minio, r2, s3, wasabi

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

async s3 = futures, rust-s3, tokio

Affects storage::async_common

s3 default digital-ocean gcs minio r2 wasabi = async

Affects storage::s3

minio default = s3

Affects storage::minio

gcs default = s3

Affects storage::gcs

wasabi default = s3

Affects storage::wasabi

r2 default = s3

Affects storage::r2

digital-ocean default = s3

Affects storage::digital_ocean

bundled-openssl

Enables vendored of openssl

On Linux we use "vendored" feature and on Windows we don't use that feature.

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.

tokio async?

Enables tokio

Networking & Async

rust-s3 async?

Enables rust-s3 ^0.34

futures async?
openssl bundled-openssl?