[package]
name = "gix-archive"
version = "0.13.2"
repository = "https://github.com/Byron/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", "dep:time"]
[dependencies]
gix-worktree-stream = { version = "^0.13.1", path = "../gix-worktree-stream" }
gix-object = { version = "^0.42.3", path = "../gix-object" }
gix-path = { version = "^0.10.9", path = "../gix-path", optional = true }
gix-date = { version = "^0.8.7", path = "../gix-date" }
flate2 = { version = "1.0.26", optional = true }
zip = { version = "2.1.0", optional = true, default-features = false, features = ["deflate", "time"] }
time = { version = "0.3.23", optional = true, 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"]