48 lines · 1.8 KB · TOML
RawDownload
[package]name = "git-pack-tests"version = "0.30.1"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"]rust-version = "1.64" [features] ## Provide a fixed-size allocation-free LRU cache for packs. It's useful if caching is desired while keeping the memory footprint## for the LRU-cache itself low.pack-cache-lru-static = ["git-pack/uluru"]## Provide a hash-map based LRU cache whose eviction is based a memory cap calculated from object data.pack-cache-lru-dynamic = ["git-pack/pack-cache-lru-dynamic"]## If set, select algorithms may additionally use a full-object cache which is queried before the pack itself.object-cache-dynamic = ["git-pack/object-cache-dynamic"]## Data structures implement `serde::Serialize` and `serde::Deserialize`.serde1 = ["git-pack/serde1"] internal-testing-git-features-parallel = ["git-features/parallel"]internal-testing-to-avoid-being-run-by-cargo-test-all = [] [[test]]name = "multi-threaded"path = "pack-multi-threaded.rs"required-features = ["internal-testing-git-features-parallel"] [[test]]name = "single-threaded"path = "pack-single-threaded.rs"required-features = ["internal-testing-to-avoid-being-run-by-cargo-test-all"] [dev-dependencies]git-pack = { path = ".." }git-features = { version = "^0.26.1", path = "../../git-features" }git-testtools = { path = "../../tests/tools"}git-odb = { path = "../../git-odb" }tempfile = "3.1.0"bstr = { version = "1.0.1", default-features = false, features = ["std"] }maplit = "1.0.2"git-object = {  path = "../../git-object" }git-traverse = {  path = "../../git-traverse" }git-hash = {  path = "../../git-hash" }memmap2 = "0.5.0"