# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.86"
name = "freenet-git-encoding"
version = "0.1.11"
authors = ["Freenet Project"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire-format encoding pin for freenet-git: length-prefixed signed payloads and canonical CBOR for content-addressed hashes"
homepage = "https://freenet.org"
readme = false
keywords = [
    "freenet",
    "git",
    "encoding",
    "decentralized",
    "signing",
]
categories = [
    "encoding",
    "cryptography",
]
license = "LGPL-3.0-only"
repository = "https://github.com/freenet/freenet-git"

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

[lib]
name = "freenet_git_encoding"
path = "src/lib.rs"

[dependencies.blake3]
version = "1.5"
features = ["std"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.ed25519-dalek]
version = "2.1"
features = [
    "alloc",
    "rand_core",
    "zeroize",
    "alloc",
    "rand_core",
]
default-features = false

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.rand]
version = "0.8"
features = [
    "std",
    "std_rng",
    "getrandom",
]
default-features = false
