lints.workspace = true
[package]
name = "gix-archive"
version = "0.16.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "archive generation from of a worktree stream"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2021"
rust-version = "1.65"
include = ["src/**/*", "LICENSE-*"]
[lib]
doctest = false
[features]
default = ["tar", "tar_gz", "zip"]
tar = ["dep:tar", "dep:gix-path"]
tar_gz = ["tar", "dep:flate2"]
zip = ["dep:zip"]
[dependencies]
gix-worktree-stream = { version = "^0.16.0", path = "../gix-worktree-stream" }
gix-object = { version = "^0.45.0", path = "../gix-object" }
gix-path = { version = "^0.10.12", path = "../gix-path", optional = true }
gix-date = { version = "^0.9.1", path = "../gix-date" }
flate2 = { version = "1.0.33", optional = true }
zip = { version = "2.1.0", optional = true, default-features = false, features = ["deflate"] }
jiff = { version = "0.1.2", default-features = false, features = ["std"] }
thiserror = "1.0.26"
bstr = { version = "1.5.0", default-features = false }
tar = { version = "0.4.38", optional = true }
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
gix-testtools = { path = "../tests/tools" }
gix-odb = { path = "../gix-odb" }
gix-worktree = { path = "../gix-worktree", default-features = false, features = ["attributes"] }
gix-hash = { path = "../gix-hash" }
gix-attributes = { path = "../gix-attributes" }
gix-object = { path = "../gix-object" }
gix-filter = { path = "../gix-filter" }
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]