# 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 = "2024"
name = "hexz-common"
version = "0.5.1"
authors = ["Will McCallion"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common utilities and configuration for Hexz"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hexz-org/hexz"
resolver = "2"

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

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

[dependencies.bincode]
version = "1.3"

[dependencies.ed25519-dalek]
version = "2.1"
features = ["rand_core"]
optional = true

[dependencies.rand]
version = "0.8"

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

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.zeroize]
version = "1"
features = ["derive"]
optional = true

[dev-dependencies.serde_json]
version = "1.0"
