[package]
name = "agent-pay"
version = "0.1.0"
edition = "2021"
authors = ["Vlad Bordei <bordeivlad@gmail.com>"]
description = "L402 + DID-signed invoices: agent-to-agent Lightning payments (Rust port of @p-vbordei/agent-pay)"
license = "Apache-2.0"
repository = "https://github.com/p-vbordei/agent-pay-rs"
homepage = "https://github.com/p-vbordei/agent-pay-rs"
documentation = "https://docs.rs/agent-pay"
readme = "README.md"
keywords = ["lightning", "l402", "did", "bolt11", "ed25519"]
categories = ["cryptography", "authentication", "network-programming"]
[dependencies]
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
rand = "0.8"
sha2 = "0.10"
hmac = "0.12"
bs58 = "0.5"
base64 = "0.22"
hex = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_jcs = "0.1"
chrono = { version = "0.4", default-features = false, features = ["std", "serde", "clock"] }
thiserror = "1.0"
async-trait = "0.1"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
lightning-invoice = { version = "0.34", features = ["std"] }
bitcoin = "0.32"
regex = "1.10"
urlencoding = "2.1"
once_cell = "1.19"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"