forked from tnull/bitcoin-payment-instructions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (28 loc) · 1.29 KB
/
Cargo.toml
File metadata and controls
32 lines (28 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "bitcoin-payment-instructions"
version = "0.3.1"
authors = ["Matt Corallo", "Ben Carman"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-bitcoin/bitcoin-payment-instructions"
description = """
A parser for arbitrary bitcoin payment instructions.
"""
edition = "2021"
[package.metadata.docs.rs]
features = ["std", "http"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
http = ["reqwest", "std", "serde", "serde_json"]
std = ["dnssec-prover"]
default = ["std"]
[dependencies]
lightning-invoice = { version = "0.33", default-features = false }
lightning = { version = "0.1", default-features = false, features = ["dnssec"] }
bitcoin = { version = "0.32", default-features = false }
getrandom = { version = "0.3", default-features = false }
dnssec-prover = { version = "0.6", default-features = false, optional = true, features = ["validation", "std", "tokio"] }
reqwest = { version = "0.11", default-features = false, optional = true, features = ["rustls-tls-webpki-roots", "json"] }
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, optional = true, features = ["alloc"] }
[dev-dependencies]
tokio = { version = "1.0", default-features = false, features = ["rt", "macros"] }