[package]
edition = "2024"
name = "znippy-plugin-git"
version = "0.1.1"
authors = ["Rickard Lundin <rickard@ignalina.dk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Git object-store metadata plugin for znippy (native builtin — no WASM). Carries the reserved oid / commit-graph / reachability sub-indexes."
readme = false
license = "MIT"
repository = "https://codeberg.org/nordisk/znippy"
resolver = "2"
[features]
bench-kernels = [
"dep:fst",
"dep:znippy-compress",
]
default = ["openzl"]
openzl = [
"znippy-common/openzl",
"znippy-compress?/openzl",
]
[lib]
name = "znippy_plugin_git"
crate-type = ["rlib"]
path = "src/lib.rs"
[[example]]
name = "index_layout_bench"
path = "examples/index_layout_bench.rs"
[[example]]
name = "oid_align_bench"
path = "examples/oid_align_bench.rs"
[[example]]
name = "push_path_bench"
path = "examples/push_path_bench.rs"
[[example]]
name = "read_stack_bench"
path = "examples/read_stack_bench.rs"
[[example]]
name = "tail_write_bench"
path = "examples/tail_write_bench.rs"
[[test]]
name = "archive_e2e"
path = "tests/archive_e2e.rs"
[[test]]
name = "archive_write"
path = "tests/archive_write.rs"
[[test]]
name = "concurrent_push"
path = "tests/concurrent_push.rs"
[[test]]
name = "emit_peak_memory"
path = "tests/emit_peak_memory.rs"
[[test]]
name = "resolve_peak_memory"
path = "tests/resolve_peak_memory.rs"
[[test]]
name = "rss_retention_probe"
path = "tests/rss_retention_probe.rs"
[dependencies.anyhow]
version = "1"
[dependencies.flate2]
version = "1.1"
features = ["zlib-rs"]
default-features = false
[dependencies.fst]
version = "0.4.7"
optional = true
[dependencies.git-storage-trait]
version = "0.1.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.redb]
version = "2"
[dependencies.roaring]
version = "0.11"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.znippy-common]
version = "0.9.14"
default-features = false
[dependencies.znippy-compress]
version = "0.9.10"
optional = true
default-features = false
[dependencies.znippy-zoomies]
version = "0.1"
[dev-dependencies.gix-features]
version = "0.49"
features = [
"progress",
"parallel",
]
[dev-dependencies.gix-hash]
version = "0.26"
features = ["sha1"]
[dev-dependencies.gix-object]
version = "0.63"
[dev-dependencies.gix-pack]
version = "0.73"
features = [
"streaming-input",
"sha1",
"parallel",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.znippy-compress]
version = "0.9.10"
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.memmap2]
version = "0.9"