crates: explicitly set workspace wide rust-version to 1.85

Also bump the resolver version so `cargo update` will respect this MSRV.

Changelog-None
This commit is contained in:
daywalker90 2026-03-30 12:58:46 +02:00 committed by Christian Decker
parent eba035f751
commit f488ca2bd8
12 changed files with 429 additions and 261 deletions

628
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,8 @@ debug = 0
codegen-units = 32
[workspace]
resolver = "2"
resolver = "3"
package.rust-version = "1.85.0"
members = [
"cln-rpc",
"cln-grpc",

View file

@ -7,6 +7,7 @@ description = "The Core Lightning API as grpc primitives. Provides the bindings
homepage = "https://github.com/ElementsProject/lightning/tree/master/cln-grpc"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/cln-grpc"
rust-version.workspace = true
[features]
default = []

View file

@ -1,6 +1,7 @@
use crate::pb::*;
use serde_json::json;
#[cfg(feature = "server")]
#[test]
fn test_listpeers() {
let j: serde_json::Value = json!({
@ -230,6 +231,7 @@ fn test_listpeers() {
// assert_eq!(j, j2); // TODO, still some differences to fix
}
#[cfg(feature = "server")]
#[test]
fn test_getinfo() {
let j = json!({
@ -254,6 +256,7 @@ fn test_getinfo() {
//assert_eq!(j, j2);
}
#[cfg(feature = "server")]
#[test]
fn test_keysend() {
let g =

View file

@ -7,6 +7,7 @@ description = "An async RPC client for Core Lightning."
homepage = "https://github.com/ElementsProject/lightning/tree/master/cln-rpc"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/cln-rpc"
rust-version.workspace = true
[[example]]
name = "cln-rpc-getinfo"
@ -14,17 +15,17 @@ path = "examples/getinfo.rs"
[dependencies]
anyhow = "1.0"
bitcoin = { version = "0.32.2", features = [ "serde" ] }
bitcoin = { version = "0.32.2", features = ["serde"] }
bytes = "1"
futures-util = { version = "0.3", features = [ "sink" ] }
futures-util = { version = "0.3", features = ["sink"] }
hex = "0.4.3"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["net"]}
tokio = { version = "1", features = ["net"] }
tokio-util = { version = "0.7", features = ["codec"] }
[dev-dependencies]
env_logger = "0.10"
tokio = { version = "1", features = ["net", "macros", "rt-multi-thread"]}
tokio = { version = "1", features = ["net", "macros", "rt-multi-thread"] }
tokio-test = "0.4.3"

View file

@ -7,6 +7,7 @@ description = "A CLN plugin library. Write your plugin in Rust."
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/cln-plugin"
rust-version.workspace = true
[[example]]
name = "cln-plugin-startup"
@ -19,12 +20,18 @@ log = { version = "^0.4", features = ['std'] }
serde = { version = "^1", features = ["derive"] }
serde_json = "1.0.72"
tokio-util = { version = "0.7", features = ["codec"] }
tokio = { version="1", features = ['io-std', 'rt', 'sync', 'macros', 'io-util'] }
tokio = { version = "1", features = [
'io-std',
'rt',
'sync',
'macros',
'io-util',
] }
tokio-stream = "0.1"
futures = "0.3"
tracing-subscriber = { version = "^0.3", features = ["env-filter", "tracing"] }
tracing = { version = "^0.1", features = ["async-await", "log"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", ] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
cln-grpc = { workspace = true }

View file

@ -6,6 +6,7 @@ license = "MIT"
description = "BIP-353 lookups"
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
rust-version.workspace = true
[dependencies]
anyhow = "1"

View file

@ -6,6 +6,7 @@ license = "MIT"
description = "Fetches currency rates"
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
rust-version.workspace = true
[dependencies]
anyhow = "1"

View file

@ -7,6 +7,7 @@ description = "A Core Lightning plugin that re-exposes the JSON-RPC over grpc. A
license = "MIT"
repository = "https://github.com/ElementsProject/lightning"
documentation = "https://docs.rs/crate/cln-grpc-plugin/"
rust-version.workspace = true
[[bin]]
name = "cln-grpc"

View file

@ -2,6 +2,7 @@
name = "cln-lsps"
version = "0.1.1"
edition = "2021"
rust-version.workspace = true
[[bin]]
name = "cln-lsps-client"
@ -15,7 +16,7 @@ path = "src/service.rs"
anyhow = "1.0"
async-trait = "0.1"
bitcoin = "0.32.2"
chrono = { version= "0.4.42", features = ["serde"] }
chrono = { version = "0.4.42", features = ["serde"] }
cln-plugin = { workspace = true }
cln-rpc = { workspace = true }
hex = "0.4"

View file

@ -6,6 +6,7 @@ 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"

View file

@ -6,23 +6,41 @@ license = "MIT"
description = "WSS Proxy plugin"
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins"
repository = "https://github.com/ElementsProject/lightning"
rust-version.workspace = true
[dependencies]
anyhow = "1"
log = { version = "0.4", features = ['std'] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version="1", features = ['io-std', 'rt-multi-thread', 'sync', 'macros', 'io-util'] }
tokio = { version = "1", features = [
'io-std',
'rt-multi-thread',
'sync',
'macros',
'io-util',
] }
rcgen = "0.13"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
] }
tokio-tungstenite = { version = "0.26", features = ["tokio-rustls"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "logging", "std", "tls12"]}
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "logging", "tls12"]}
rustls = { version = "0.23", default-features = false, features = [
"ring",
"logging",
"std",
"tls12",
] }
tokio-rustls = { version = "0.26", default-features = false, features = [
"ring",
"logging",
"tls12",
] }
log-panics = "2"
cln-plugin = { workspace = true }
cln-rpc = { workspace = true }