Cargo Features

[dependencies]
starbase_archive = { version = "0.13.1", default-features = false, features = ["gz", "miette", "tar", "tar-all", "tar-bz2", "tar-gz", "tar-xz", "tar-zstd", "zip", "zip-all", "zip-bz2", "zip-deflate", "zip-gz", "zip-xz", "zip-zstd"] }
default = tar-gz

The tar-gz feature is set by default whenever starbase_archive is added without default-features = false somewhere in the dependency tree.

gz

Enables flate2

Affects starbase_archive::gz

miette

Enables miette

Affects gz_error::GzError, tar_error::TarError, zip_error::ZipError

tar tar-all? tar-bz2? tar-gz tar-xz? tar-zstd?

Enables binstall-tar

tar https://github.com/moonrepo/starbase/issues/56

Affects starbase_archive::tar

tar-all = tar, tar-bz2, tar-gz, tar-xz, tar-zstd
tar-bz2 tar-all? = tar

Enables bzip2

compression

tar-gz default tar-all? = tar

Enables flate2

tar-xz tar-all? = tar

Enables liblzma

tar-zstd tar-all? = tar

Enables zstd

zip zip-all? zip-bz2? zip-deflate? zip-xz? zip-zstd?

Enables zip

Affects starbase_archive::zip

zip-all = zip, zip-bz2, zip-deflate, zip-gz, zip-xz, zip-zstd
zip-bz2 zip-all? = zip

Enables bzip2, bzip2 of zip

zip-deflate zip-all? zip-gz? = zip

Enables flate2, deflate of zip

zip-gz zip-all? = zip-deflate
zip-xz zip-all? = zip

Enables liblzma, lzma of zip

zip-zstd zip-all? = zip

Enables zstd, zstd of zip