silentpayments 0.5.0

A library for adding BIP352: Silent Payments support to wallets.
Documentation
# 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 = "silentpayments"
version = "0.5.0"
authors = ["cygnet <cygnet3@proton.me>"]
build = false
exclude = ["tests/resources"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for adding BIP352: Silent Payments support to wallets."
homepage = "https://github.com/cygnet3/rust-silentpayments"
readme = "README.md"
keywords = [
    "bitcoin",
    "secp256k1",
]
license = "MIT"
repository = "https://github.com/cygnet3/rust-silentpayments"

[features]
default = [
    "encode",
    "sending",
    "receiving",
]
encode = ["dep:bech32"]
receiving = [
    "dep:bitcoin_hashes",
    "dep:hex",
    "dep:bimap",
    "serde",
    "encode",
]
sending = [
    "dep:bitcoin_hashes",
    "dep:hex",
    "encode",
]
serde = ["dep:serde"]

[lib]
name = "silentpayments"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "create_wallet"
path = "examples/create_wallet.rs"

[[example]]
name = "custom_parser"
path = "examples/custom_parser.rs"

[[example]]
name = "find_output"
path = "examples/find_output.rs"

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

[dependencies.bech32]
version = "0.9"
optional = true

[dependencies.bimap]
version = "0.6"
optional = true

[dependencies.bitcoin_hashes]
version = "0.13.0"
optional = true

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

[dependencies.secp256k1]
version = "0.29.0"
features = ["rand"]

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

[dev-dependencies.bitcoin]
version = "0.32.8"
features = ["serde"]

[dev-dependencies.rust-bip39]
version = "1.0.0"
features = ["rand"]

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