[package]
name = "git-pack"
version = "0.11.0"
repository = "https://github.com/Byron/gitoxide"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
license = "MIT/Apache-2.0"
description = "Implements git packs and related data structures"
edition = "2018"
include = ["src/**/*", "CHANGELOG.md"]
[lib]
doctest = false
[features]
pack-cache-lru-static = ["uluru"]
pack-cache-lru-dynamic = ["clru"]
serde1 = ["serde", "git-object/serde1"]
internal-testing-git-features-parallel = ["git-features/parallel"]
internal-testing-to-avoid-being-run-by-cargo-test-all = []
[[test]]
name = "multi-threaded"
path = "tests/pack-multi-threaded.rs"
required-features = ["internal-testing-git-features-parallel"]
[[test]]
name = "single-threaded"
path = "tests/pack-single-threaded.rs"
required-features = ["internal-testing-to-avoid-being-run-by-cargo-test-all"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
git-features = { version = "^0.16.0", path = "../git-features", features = ["crc32", "rustsha1", "progress", "zlib"] }
git-hash = { version ="^0.6.0", path = "../git-hash" }
git-object = { version ="^0.14.0", path = "../git-object" }
git-traverse = { version ="^0.8.0", path = "../git-traverse" }
git-diff = { version ="^0.9.0", path = "../git-diff" }
git-tempfile = { version ="^1.0.0", path = "../git-tempfile" }
smallvec = "1.3.0"
filebuffer = "0.4.0"
byteorder = "1.2.3"
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
btoi = "0.4.2"
itoa = "0.4.6"
bytesize = "1.0.1"
parking_lot = { version = "0.11.0", default-features = false }
thiserror = "1.0.26"
uluru = { version = "3.0.0", optional = true }
clru = { version = "0.5.0", optional = true }
dashmap = "4.0.2"
[dev-dependencies]
git-testtools = { path = "../tests/tools"}
git-odb = { path = "../git-odb" }
tempfile = "3.1.0"
bstr = { version = "0.2.13", default-features = false, features = ["std"] }
hex = "0.4.2"
common_macros = "0.1.1"