cln/plugins/rest-plugin/Cargo.toml
daywalker90 88f259ec56 crates: upgraded dependencies to latest 1.85 compatible versions as of the commit time
notable upgrades requiring code changes:

rcgen: signed_by now takes an Issuer instead of a Certificate and KeyPair

tonic/prost: prost feature was stripped out of tonic and moved into tonic_prost crates

rand: OsRng was renamed to SysRng

Changelog-None
2026-04-24 19:38:53 +02:00

53 lines
1.4 KiB
TOML

[package]
name = "clnrest"
version = "0.2.0"
edition = "2024"
license = "MIT"
description = "Transforms RPC calls into REST APIs"
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
rust-version.workspace = true
[dependencies]
anyhow = "1"
bytes = "1"
log = { version = "0.4", features = ['std'] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml_ng = "0.10.0"
quick-xml = { version = "0.39", features = ["serialize"] }
roxmltree_to_serde = "0.6"
serde_qs = "1"
tokio-util = { version = "0.7", features = ["codec"] }
tokio = { version = "1", features = [
'io-std',
'rt-multi-thread',
'sync',
'macros',
'io-util',
] }
axum = "0.8"
axum-server = { version = "0.8", features = ["tls-rustls-no-provider"] }
rustls = { version = "0.23", default-features = false, features = [
"logging",
"tls12",
"std",
"ring",
] }
matchit = "0.9"
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
] }
rcgen = "0.14"
hyper = "1"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "set-header"] }
utoipa = { version = "5", features = ['axum_extras'] }
log-panics = "2"
socketioxide = { version = "0.16", features = ["state"] }
cln-plugin = { workspace = true }
cln-rpc = { workspace = true }
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }