[package] name = "lnurlkit" version = "0.1.12" edition = "2021" rust-version = "1.60" authors = ["Lucas Sunsi Abreu "] 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"]