# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "lnpbp"
version = "0.2.0-beta.4"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
exclude = [".github", "derive", "contrib", "services"]
description = "LNP/BP Core Library implementing LNPBP specifications & standards"
homepage = "https://github.com/LNP-BP"
readme = "README.md"
keywords = ["bitcoin", "lightning", "lnp-bp", "layer-3", "cryptography"]
license = "MIT"
repository = "https://github.com/LNP-BP/rust-lnpbp"

[lib]
name = "lnpbp"
crate-type = ["dylib", "rlib", "staticlib"]
path = "src/lib.rs"
[dependencies.amplify]
version = "~2.3.1"
features = ["stringly_conversions"]

[dependencies.amplify_derive]
version = "~2.3.0"

[dependencies.async-trait]
version = "~0.1.30"
optional = true

[dependencies.bech32]
version = "~0.7.2"

[dependencies.bitcoin]
version = "~0.25.1"
features = ["rand"]

[dependencies.bitcoin_hashes]
version = "~0.9.3"

[dependencies.chacha20poly1305]
version = "~0.7.0"

[dependencies.chrono]
version = "~0.4.19"

[dependencies.deflate]
version = "~0.8.6"
optional = true

[dependencies.ed25519-dalek]
version = "~1.0.0"
optional = true

[dependencies.grin_secp256k1zkp]
version = "=0.7.9"
optional = true

[dependencies.inflate]
version = "~0.4.5"
optional = true

[dependencies.lazy_static]
version = "~1.4.0"

[dependencies.lightning-invoice]
version = "~0.3.0"
optional = true

[dependencies.lnpbp_derive]
version = "=0.2.0-beta.4"

[dependencies.miniscript]
version = "~3.0.0"
features = ["compiler"]

[dependencies.num-derive]
version = "~0.3.0"

[dependencies.num-traits]
version = "~0.2.11"

[dependencies.serde_crate]
version = "~1.0.106"
features = ["derive"]
optional = true
package = "serde"

[dependencies.serde_with]
version = "~1.5.1"
features = ["hex"]
optional = true

[dependencies.serde_with_macros]
version = "~1.2.0"

[dependencies.tokio]
version = "~0.2.18"
features = ["tcp", "sync"]
optional = true

[dependencies.torut]
version = "~0.1.6"
features = ["v2", "v3"]

[dependencies.url]
version = "~2.1.1"
optional = true

[dependencies.zmq]
version = "~0.9.2"
optional = true

[features]
all = ["lnp", "rgb", "serde", "tokio", "async", "keygen", "elgamal", "tor", "url", "websockets", "vendored_openssl"]
async = ["async-trait", "tokio"]
bulletproofs = ["grin_secp256k1zkp"]
default = ["lnp", "rgb", "tor", "url"]
elgamal = []
keygen = ["bitcoin/rand"]
lnp = ["async", "zmq", "lightning-invoice"]
rgb = ["bulletproofs", "ed25519-dalek", "deflate", "inflate"]
serde = ["serde_crate", "serde_with", "amplify/serde", "bitcoin/use-serde", "miniscript/serde"]
tor = ["amplify/tor"]
vendored_openssl = ["torut/vendored_openssl"]
websockets = []
[target."cfg(target_os=\"android\")".dependencies.cc]
version = "=1.0.41"

[target."cfg(target_os=\"android\")".dependencies.zmq]
version = "~0.9"
features = ["vendored"]
[target."cfg(target_os=\"ios\")".dependencies.zeromq-src]
version = "~0.1"
[target."cfg(target_os=\"windows\")".dependencies.openssl]
version = "~0.10"
features = ["vendored"]
