-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
94 lines (76 loc) · 2.47 KB
/
Cargo.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "lnurlkit"
version = "0.1.12"
edition = "2021"
rust-version = "1.60"
authors = ["Lucas Sunsi Abreu <lsunsi@pm.me>"]
description = "All you need to support LNURL and nothing more"
categories = ["finance", "web-programming", "web-programming::http-client", "api-bindings", "asynchronous"]
keywords = ["bitcoin", "lightning", "lnurl"]
repository = "https://github.com/lsunsi/lnurlkit"
homepage = "https://github.com/lsunsi/lnurlkit"
license = "GPL-3.0-only"
readme = "README.md"
[dependencies]
base64 = { version = "0.22.0", features = ["std"], default-features = false }
bech32 = { version = "0.11.0", features = ["alloc"], default-features = false }
hex = { version = "0.4.3", features = ["std", "serde"], default-features = false }
serde = { version = "1.0.0", features = ["derive"], default-features = false }
serde_json = { version = "1.0.0", features = ["std"], default-features = false }
serde_urlencoded = { version = "0.7.0", default-features = false }
url = { version = "2.5.0", features = ["serde"], default-features = false }
axum = { version = "0.7.0", default-features = false, optional = true }
reqwest = { version = "0.11.0", default-features = false, optional = true }
[dev-dependencies]
axum = { version = "0.7.0", features = ["tokio", "http1"], default-features = false }
reqwest = { version = "0.11.0", features = ["rustls-tls-webpki-roots"], default-features = false }
tokio = { version = "1.0.0", features = ["macros"], default-features = false }
[features]
client = ["dep:reqwest"]
server = ["dep:axum"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[lints.rust]
warnings = "deny"
[lints.clippy]
cargo = "deny"
complexity = "deny"
correctness = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
[[test]]
name = "lud02"
required-features = ["client", "server"]
[[test]]
name = "lud03"
required-features = ["client", "server"]
[[test]]
name = "lud04"
required-features = ["client", "server"]
[[test]]
name = "lud06"
required-features = ["client", "server"]
[[test]]
name = "lud08"
required-features = ["client", "server"]
[[test]]
name = "lud09"
required-features = ["client", "server"]
[[test]]
name = "lud11"
required-features = ["client", "server"]
[[test]]
name = "lud12"
required-features = ["client", "server"]
[[test]]
name = "lud16"
required-features = ["client", "server"]
[[test]]
name = "lud18"
required-features = ["client", "server"]
[[test]]
name = "lud21"
required-features = ["client", "server"]