# 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 = "2018"
name = "bitcoin-waila"
version = "0.2.5"
authors = [
    "Ben Carman <benthecarman@live.com>",
    "Paul Miller <paul@pauljmiller.com>",
]
description = "\"What am I looking at?\" A tool for decoding bitcoin-related strings."
homepage = "https://github.com/MutinyWallet/bitcoin-waila/"
documentation = "https://docs.rs/bitcoin-waila/"
readme = "README.md"
keywords = [
    "lightning",
    "bitcoin",
    "bip21",
    "lnurl",
]
license = "MIT"
repository = "https://github.com/MutinyWallet/bitcoin-waila/"
resolver = "2"

[package.metadata.wasm-pack.profile.release]
wasm-opt = true

[lib]
crate-type = [
    "cdylib",
    "rlib",
]

[dependencies.bip21]
version = "0.2.0"

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

[dependencies.lightning]
version = "0.0.118"
default-features = false

[dependencies.lightning-invoice]
version = "0.26.0"
default-features = false

[dependencies.lnurl-rs]
version = "0.3"
default-features = false

[dependencies.nostr]
version = "=0.23.0-bitcoin-v0.29"
features = ["nip19"]
default-features = false

[dependencies.rgb-std]
version = "0.10.9"
optional = true

[dependencies.rgb-wallet]
version = "0.10.9"
optional = true

[dependencies.url]
version = "2.4.1"

[features]
default = ["std"]
no-std = [
    "bitcoin/no-std",
    "lightning-invoice/no-std",
    "lightning/no-std",
]
rgb = [
    "rgb-std",
    "rgb-wallet",
]
std = [
    "bitcoin/std",
    "lightning-invoice/std",
    "lightning/std",
]
