# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.65"
name = "gix-pack"
version = "0.40.2"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
    "src/**/*",
    "LICENSE-*",
    "CHANGELOG.md",
]
autotests = false
description = "Implements git packs and related data structures"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"

[package.metadata.docs.rs]
all-features = true
features = [
    "document-features",
    "pack-cache-lru-dynamic",
    "object-cache-dynamic",
    "serde",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
doctest = false

[dependencies.clru]
version = "0.6.1"
optional = true

[dependencies.document-features]
version = "0.2.0"
optional = true

[dependencies.gix-chunk]
version = "^0.4.4"

[dependencies.gix-diff]
version = "^0.33.1"

[dependencies.gix-features]
version = "^0.32.1"
features = [
    "crc32",
    "rustsha1",
    "progress",
    "zlib",
]

[dependencies.gix-hash]
version = "^0.11.4"

[dependencies.gix-hashtable]
version = "^0.2.4"

[dependencies.gix-object]
version = "^0.33.1"

[dependencies.gix-path]
version = "^0.8.4"

[dependencies.gix-traverse]
version = "^0.30.1"

[dependencies.memmap2]
version = "0.7.0"

[dependencies.parking_lot]
version = "0.12.0"
default-features = false

[dependencies.serde]
version = "1.0.114"
features = ["derive"]
optional = true
default-features = false

[dependencies.smallvec]
version = "1.3.0"

[dependencies.thiserror]
version = "1.0.26"

[dependencies.uluru]
version = "3.0.0"
optional = true

[dev-dependencies]

[features]
object-cache-dynamic = ["dep:clru"]
pack-cache-lru-dynamic = ["dep:clru"]
pack-cache-lru-static = ["dep:uluru"]
serde = [
    "dep:serde",
    "gix-object/serde",
]
wasm = ["gix-diff/wasm"]

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.gix-tempfile]
version = "^7.0.0"
default-features = false
