Cargo Features

[dependencies]
starbase_archive = { version = "0.9.0", default-features = false, features = ["gz", "miette", "tar", "tar-bz2", "tar-gz", "tar-xz", "tar-zstd", "zip", "zip-deflate"] }
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 archive::ArchiveResult, gz_error::GzError, tar_error::TarError, zip_error::ZipError

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

Enables binstall-tar

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

Affects starbase_archive::tar

tar-bz2 = tar

Enables bzip2 ^0.4.4

tar-gz default = tar

Enables flate2

tar-xz = tar

Enables xz2

tar-zstd = tar

Enables zstd

zip zip-deflate?

Enables zip

Affects starbase_archive::zip

zip-deflate = zip

Enables flate2, deflate of zip