[package]
edition = "2021"
rust-version = "1.85"
name = "gunnar-store"
version = "1.6.0"
authors = [
"Ignalina ApS",
"Vetra Automation AB",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The gunnar server's storage seam: RepoStore (which repository), SecretStore (what has no git equivalent), and the one conformance suite both GitOps backends run"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/gunnar"
[features]
conformance = [
"dep:tempfile",
"dep:flate2",
"dep:gix-object",
]
default = []
[lib]
name = "gunnar_store"
path = "src/lib.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "object_decode"
path = "tests/object_decode.rs"
[dependencies.anyhow]
version = "1"
[dependencies.flate2]
version = "1"
features = ["zlib-rs"]
optional = true
default-features = false
[dependencies.git-storage-trait]
version = "0.1.2"
[dependencies.gix-error]
version = "0.4"
[dependencies.gix-hash]
version = "0.27"
features = [
"sha1",
"sha256",
]
[dependencies.gix-object]
version = "0.65"
optional = true
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.gix-object]
version = "0.65"
[dev-dependencies.gunnar-pack]
version = "2.0.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.rust]
unsafe_code = "forbid"