[package]
name = "freenet-git-encoding"
description = "Wire-format encoding pin for freenet-git: length-prefixed signed payloads and canonical CBOR for content-addressed hashes"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
keywords = ["freenet", "git", "encoding", "decentralized", "signing"]
categories = ["encoding", "cryptography"]

[dependencies]
blake3.workspace = true
serde = { workspace = true, optional = true }

[dev-dependencies]
ed25519-dalek = { workspace = true, default-features = false, features = ["alloc", "rand_core"] }
hex.workspace = true
rand.workspace = true

[features]
default = []
serde = ["dep:serde"]
