# 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"
name = "bip329"
version = "0.6.0"
authors = ["Praveen Perera <me@praveenperera.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for working with BIP329 labels"
homepage = "https://github.com/bitcoinppl/bip329"
documentation = "https://docs.rs/bip329"
readme = "README.md"
keywords = [
    "bitcoin",
    "bip329",
    "labels",
]
license = "Apache-2.0"
repository = "https://github.com/bitcoinppl/bip329"

[features]
default = []
encryption = [
    "dep:age",
    "dep:hex",
]

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

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

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

[dependencies.age]
version = "0.11"
optional = true

[dependencies.bitcoin]
version = "0.32.0"
features = ["serde"]
default-features = false

[dependencies.hex]
version = "0.4"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.pretty_assertions]
version = "1.4.0"
