[package]
edition = "2021"
name = "agent-pay"
version = "0.1.0"
authors = ["Vlad Bordei <bordeivlad@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "L402 + DID-signed invoices: agent-to-agent Lightning payments (Rust port of @p-vbordei/agent-pay)"
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",
]
license = "Apache-2.0"
repository = "https://github.com/p-vbordei/agent-pay-rs"
[lib]
name = "agent_pay"
path = "src/lib.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "bolt11"
path = "tests/bolt11.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "envelope"
path = "tests/envelope.rs"
[[test]]
name = "jcs"
path = "tests/jcs.rs"
[[test]]
name = "jws"
path = "tests/jws.rs"
[[test]]
name = "keys"
path = "tests/keys.rs"
[[test]]
name = "memory_node"
path = "tests/memory_node.rs"
[[test]]
name = "replay"
path = "tests/replay.rs"
[[test]]
name = "server"
path = "tests/server.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "token"
path = "tests/token.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bitcoin]
version = "0.32"
[dependencies.bs58]
version = "0.5"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"serde",
"clock",
]
default-features = false
[dependencies.ed25519-dalek]
version = "2.1"
features = ["rand_core"]
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.lightning-invoice]
version = "0.34"
features = ["std"]
[dependencies.once_cell]
version = "1.19"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_jcs]
version = "0.1"
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
]
[dependencies.urlencoding]
version = "2.1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]