[package]
edition = "2021"
rust-version = "1.85"
name = "gunnar-wire"
version = "1.7.0"
authors = [
"Ignalina ApS",
"Vetra Automation AB",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "git smart-protocol state machines: upload-pack (v2 with a v0 fallback) and receive-pack (v0), transport-agnostic"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/gunnar"
[features]
stages = ["dep:gunnar-stage"]
[lib]
name = "gunnar_wire"
path = "src/lib.rs"
[[test]]
name = "advertise_peel_cost"
path = "tests/advertise_peel_cost.rs"
[[test]]
name = "advertisement"
path = "tests/advertisement.rs"
[[test]]
name = "answered_path"
path = "tests/answered_path.rs"
[[test]]
name = "blob_tag_clone"
path = "tests/blob_tag_clone.rs"
[[test]]
name = "concurrent_pack_ceiling"
path = "tests/concurrent_pack_ceiling.rs"
[[test]]
name = "connectivity_cost"
path = "tests/connectivity_cost.rs"
[[test]]
name = "deferred_index"
path = "tests/deferred_index.rs"
[[test]]
name = "emit_amplification"
path = "tests/emit_amplification.rs"
[[test]]
name = "fetch_pack"
path = "tests/fetch_pack.rs"
[[test]]
name = "force_update"
path = "tests/force_update.rs"
[[test]]
name = "hostile"
path = "tests/hostile.rs"
[[test]]
name = "index_in_progress"
path = "tests/index_in_progress.rs"
[[test]]
name = "negotiate_cost"
path = "tests/negotiate_cost.rs"
[[test]]
name = "pack_ceiling"
path = "tests/pack_ceiling.rs"
[[test]]
name = "pack_vocabulary"
path = "tests/pack_vocabulary.rs"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[[test]]
name = "receive_pack_wire_bytes"
path = "tests/receive_pack_wire_bytes.rs"
[[test]]
name = "ref_txn_cost"
path = "tests/ref_txn_cost.rs"
[[test]]
name = "stateless_rpc"
path = "tests/stateless_rpc.rs"
[[test]]
name = "thin_voucher"
path = "tests/thin_voucher.rs"
[[test]]
name = "walk_limit"
path = "tests/walk_limit.rs"
[[test]]
name = "want_cost"
path = "tests/want_cost.rs"
[dependencies.gix-hash]
version = "0.28"
features = [
"sha1",
"sha256",
]
[dependencies.gunnar-bitmap]
version = "3.0.0"
[dependencies.gunnar-pktline]
version = "1.1.0"
[dependencies.gunnar-sendpack]
version = "3.0.0"
default-features = false
[dependencies.gunnar-stage]
version = "1.1.0"
optional = true
[dependencies.gunnar-store]
version = "2.0.0"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.flate2]
version = "1"
features = ["zlib-rs"]
default-features = false
[dev-dependencies.gix-object]
version = "0.66"
[dev-dependencies.gix-pack]
version = "0.77"
features = [
"streaming-input",
"parallel",
]
[dev-dependencies.gunnar-pack]
version = "3.0.0"
[dev-dependencies.gunnar-store]
version = "2.0.0"
features = ["conformance"]
[dev-dependencies.tempfile]
version = "3"
[lints.rust]
unsafe_code = "forbid"