[package]
name = "lnpbp"
version = "0.2.0-beta.2"
license = "MIT"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
description = "LNP/BP Core Library implementing LNPBP specifications & standards"
repository = "https://github.com/LNP-BP/rust-lnpbp"
homepage = "https://github.com/LNP-BP"
keywords = ["bitcoin", "lightning", "lnp-bp", "layer-3", "cryptography"]
readme = "README.md"
edition = "2018"
exclude = [".github", "derive", "contrib", "services"]
[lib]
name = "lnpbp"
path = "src/lib.rs"
crate-type = ["dylib", "rlib", "staticlib"]
[dependencies]
amplify = { version = "~2.3.1", features = ["stringly_conversions"] }
amplify_derive = "~2.3.0"
lnpbp_derive = "~0.2.0-beta.2"
bitcoin = { version = "~0.25.1", features = ["rand"] }
bitcoin_hashes = "~0.9.3"
miniscript = "~3.0.0"
bech32 = "~0.7.2"
lightning-invoice = { version = "~0.3.0", optional = true }
chacha20poly1305 = "~0.7.0"
ed25519-dalek = { version = "~1.0.0", optional = true }
serde_crate = { package = "serde", version = "~1.0.106", features = ["derive"], optional = true }
serde_with = { version = "~1.5.1", optional = true, features = ["hex"] }
tokio = { version = "~0.2.18", features = ["tcp", "sync"], optional = true }
lazy_static = "~1.4.0"
zmq = { version = "~0.9.2", optional = true }
url = { version = "~2.1.1", optional = true }
deflate = { version = "~0.8.6", optional = true }
inflate = { version = "~0.4.5", optional = true }
chrono = "~0.4.19"
grin_secp256k1zkp = { version = "=0.7.9", optional = true }
num-traits = "~0.2.11"
num-derive = "~0.3.0"
async-trait = { version = "~0.1.30", optional = true }
torut = { version = "~0.1.6", features = ["v2", "v3"] }
[dev-dependencies]
miniscript = { version = "~3.0.0", features = ["compiler"] }
bitcoin = { version = "~0.25.0", features = ["rand"] }
[target.'cfg(target_os="android")'.dependencies]
zmq = { version = "~0.9", features = ["vendored"] }
[target.'cfg(target_os="android")'.patch.crates-io]
zeromq-src = { git = "https://github.com/LNP-BP/zeromq-src-rs", branch = "fix/cmake" }
[features]
default = ["lnp", "rgb", "tor", "url"]
all = [
"lnp", "rgb",
"serde", "tokio", "async",
"keygen", "elgamal",
"tor", "url", "websockets", "vendored_openssl"]
lnp = ["async", "zmq", "lightning-invoice"]
rgb = ["bulletproofs", "ed25519-dalek", "deflate", "inflate"]
async = ["async-trait", "tokio"]
serde = ["serde_crate", "serde_with", "amplify/serde",
"bitcoin/use-serde", "miniscript/serde" ]
bulletproofs = ["grin_secp256k1zkp"]
keygen = ["bitcoin/rand"]
elgamal = []
websockets = []
tor = ["amplify/tor"]
vendored_openssl = ["torut/vendored_openssl"]
[workspace]
members = [".", "derive", "services"]
default-members = [".", "derive", "services"]
exclude = ["dep_test"]