# 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-types"
version = "0.1.14"
authors = ["Freenet Project"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared state types and pure validate_state/update_state logic for freenet-git"
homepage = "https://freenet.org"
readme = false
keywords = [
    "freenet",
    "git",
    "decentralized",
    "crdt",
    "contract",
]
categories = [
    "data-structures",
    "cryptography",
]
license = "LGPL-3.0-only"
repository = "https://github.com/freenet/freenet-git"

[features]
default = []
signing = ["dep:ed25519-dalek"]

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

[[test]]
name = "sign_validate_round_trip"
path = "tests/sign_validate_round_trip.rs"

[dependencies.bincode]
version = "1.3"

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

[dependencies.bs58]
version = "0.5"

[dependencies.ed25519-compact]
version = "2.1"
features = ["std"]
default-features = false

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

[dependencies.freenet-git-encoding]
version = "0.1.14"

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.thiserror]
version = "2"
