Cargo Features

s-zip has no features set by default.

[dependencies]
s-zip = { version = "0.10.1", features = ["zstd-support", "encryption", "async", "async-zstd", "cloud-s3", "cloud-gcs", "cloud-all"] }
zstd-support async-zstd? = zstd
encryption = aes, ctr, getrandom, hmac, pbkdf2, sha1

Affects s-zip::encryption, reader::ZipEntry.is_encrypted

async async-zstd? cloud-gcs? cloud-s3? = async-compression, futures-util, pin-project-lite, tokio

Affects s-zip::async_writer, s-zip::async_reader, s-zip::parallel

async-zstd = async, zstd-support

Enables async-compression

cloud-s3 cloud-all? = async, aws-config, aws-sdk-s3

Affects cloud::s3, s-zip::cloud

cloud-gcs cloud-all? = async, google-cloud-auth, google-cloud-storage

Affects cloud::gcs, s-zip::cloud

cloud-all = cloud-gcs, cloud-s3

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.

zstd zstd-support?
aes encryption?

Enables aes

Encryption dependencies (optional)

ctr encryption?
hmac encryption?
sha1 encryption?
pbkdf2 encryption?
getrandom encryption?

Enables getrandom ^0.2

tokio async?

Enables tokio

Async dependencies (optional)

async-compression async? async-zstd?
futures-util async?
pin-project-lite async?
aws-config cloud-s3?

Enables aws-config

Cloud storage dependencies (optional)

aws-sdk-s3 cloud-s3?
google-cloud-storage cloud-gcs?

Enables google-cloud-storage ^0.22

google-cloud-auth cloud-gcs?

Enables google-cloud-auth ^0.17