[package]
name = "git-features"
description = "Please use `gix-<thiscrate>` instead ('git' -> 'gix')"
repository = "https://github.com/Byron/gitoxide"
version = "0.26.5"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
license = "MIT/Apache-2.0"
edition = "2018"
rust-version = "1.64"
[lib]
doctest = false
test = false
[features]
default = []
progress = ["prodash"]
fs-walkdir-parallel = [ "num_cpus", "jwalk" ]
parallel = ["crossbeam-utils",
"crossbeam-channel",
"num_cpus",
"parking_lot"]
io-pipe = ["bytes"]
crc32 = ["crc32fast"]
zlib = ["flate2", "flate2/rust_backend", "quick-error"]
zlib-ng= ["flate2/zlib-ng"]
zlib-ng-compat = ["flate2/zlib-ng-compat"]
zlib-stock = ["flate2/zlib"]
zlib-rust-backend = ["flate2/rust_backend"]
fast-sha1 = ["sha1"]
rustsha1 = ["sha1_smol"]
cache-efficiency-debug = []
[[test]]
name = "hash"
path = "tests/hash.rs"
required-features = ["sha1_smol"]
[[test]]
name = "parallel"
path = "tests/parallel_threaded.rs"
required-features = ["parallel", "sha1_smol"]
[[test]]
name = "multi-threaded"
path = "tests/parallel_shared_threaded.rs"
required-features = ["parallel", "sha1_smol"]
[[test]]
name = "single-threaded"
path = "tests/parallel_shared.rs"
required-features = ["sha1_smol"]
[[test]]
name = "pipe"
path = "tests/pipe.rs"
required-features = ["io-pipe"]
[dependencies]
git-hash = { version = "^0.10.3", path = "../git-hash" }
crossbeam-utils = { version = "0.8.7", optional = true }
crossbeam-channel = { version = "0.5.0", optional = true }
num_cpus = { version = "1.13.0", optional = true }
parking_lot = { version = "0.12.0", default-features = false, optional = true }
jwalk = { version = "0.8.1", optional = true }
walkdir = { version = "2.3.2", optional = true }
sha1_smol = { version = "1.0.0", optional = true }
crc32fast = { version = "1.2.1", optional = true }
sha1 = { version = "0.10.0", optional = true }
prodash = { version = "23.0", optional = true, default-features = false, features = ["unit-bytes", "unit-human"] }
bytes = { version = "1.0.0", optional = true }
flate2 = { version = "1.0.17", optional = true, default-features = false }
quick-error = { version = "2.0.0", optional = true }
once_cell = { version = "1.13.0", optional = true }
document-features = { version = "0.2.0", optional = true }
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.119" }
[dev-dependencies]
bstr = { version = "1.0.1", default-features = false }
[target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64"), not(target_env = "msvc")))'.dependencies]
sha1 = { version = "0.10.0", optional = true, features = ["asm"] }
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]
rustdoc-args = ["--cfg", "docsrs"]