From 24e666ab5248e13c00b1a9b3405b12a4876c135c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 13 Oct 2025 12:13:42 +0000 Subject: [PATCH 1/3] Replace docs.rs build `doc_auto_cfg` feature with `doc_cfg` These have been merged, causing our docs.rs builds to fail. Sadly, we saw our docs.rs build fail for the 0.1.6 upload because of this. Backport of 6aea58656e0462cdca3218f44224d6d36d01ba16 --- lightning-background-processor/src/lib.rs | 2 +- lightning-block-sync/src/lib.rs | 2 +- lightning-invoice/src/lib.rs | 2 +- lightning-liquidity/src/lib.rs | 2 +- lightning-macros/src/lib.rs | 2 +- lightning-net-tokio/src/lib.rs | 2 +- lightning-persister/src/lib.rs | 2 +- lightning-transaction-sync/src/lib.rs | 2 +- lightning-types/src/lib.rs | 2 +- lightning/src/lib.rs | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index 30343de747b..2b8bfb0c1a2 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -13,7 +13,7 @@ #![deny(rustdoc::broken_intra_doc_links)] #![deny(rustdoc::private_intra_doc_links)] #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(all(not(feature = "std"), not(test)), no_std)] #[cfg(any(test, feature = "std"))] diff --git a/lightning-block-sync/src/lib.rs b/lightning-block-sync/src/lib.rs index c1684532181..8656ba6ec6b 100644 --- a/lightning-block-sync/src/lib.rs +++ b/lightning-block-sync/src/lib.rs @@ -17,7 +17,7 @@ #![deny(rustdoc::private_intra_doc_links)] #![deny(missing_docs)] #![deny(unsafe_code)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(any(feature = "rest-client", feature = "rpc-client"))] pub mod http; diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index ecffcf889a7..3634d67f1da 100644 --- a/lightning-invoice/src/lib.rs +++ b/lightning-invoice/src/lib.rs @@ -5,7 +5,7 @@ #![deny(non_camel_case_types)] #![deny(non_snake_case)] #![deny(unused_mut)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(all(not(feature = "std"), not(test)), no_std)] //! This crate provides data structures to represent diff --git a/lightning-liquidity/src/lib.rs b/lightning-liquidity/src/lib.rs index ee081f720c6..2f1d5bd01e7 100644 --- a/lightning-liquidity/src/lib.rs +++ b/lightning-liquidity/src/lib.rs @@ -48,7 +48,7 @@ #![allow(bare_trait_objects)] #![allow(ellipsis_inclusive_range_patterns)] #![allow(clippy::drop_non_drop)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(any(test, feature = "std")), no_std)] #[macro_use] diff --git a/lightning-macros/src/lib.rs b/lightning-macros/src/lib.rs index a1df4d49a3c..e784acf72fb 100644 --- a/lightning-macros/src/lib.rs +++ b/lightning-macros/src/lib.rs @@ -16,7 +16,7 @@ #![forbid(unsafe_code)] #![deny(rustdoc::broken_intra_doc_links)] #![deny(rustdoc::private_intra_doc_links)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] extern crate alloc; diff --git a/lightning-net-tokio/src/lib.rs b/lightning-net-tokio/src/lib.rs index f238a7da5fa..2ec69de3f5d 100644 --- a/lightning-net-tokio/src/lib.rs +++ b/lightning-net-tokio/src/lib.rs @@ -25,7 +25,7 @@ #![deny(rustdoc::broken_intra_doc_links)] #![deny(rustdoc::private_intra_doc_links)] #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] use bitcoin::secp256k1::PublicKey; diff --git a/lightning-persister/src/lib.rs b/lightning-persister/src/lib.rs index 9d4df264d24..0e3541e1b27 100644 --- a/lightning-persister/src/lib.rs +++ b/lightning-persister/src/lib.rs @@ -3,7 +3,7 @@ #![deny(rustdoc::broken_intra_doc_links)] #![deny(rustdoc::private_intra_doc_links)] #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(ldk_bench)] extern crate criterion; diff --git a/lightning-transaction-sync/src/lib.rs b/lightning-transaction-sync/src/lib.rs index d221a1d48a8..baf074a7bca 100644 --- a/lightning-transaction-sync/src/lib.rs +++ b/lightning-transaction-sync/src/lib.rs @@ -69,7 +69,7 @@ #![deny(rustdoc::private_intra_doc_links)] #![deny(missing_docs)] #![deny(unsafe_code)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))] mod esplora; diff --git a/lightning-types/src/lib.rs b/lightning-types/src/lib.rs index 3c02bb91223..7f72d6d2671 100644 --- a/lightning-types/src/lib.rs +++ b/lightning-types/src/lib.rs @@ -18,7 +18,7 @@ #![forbid(unsafe_code)] #![deny(rustdoc::broken_intra_doc_links)] #![deny(rustdoc::private_intra_doc_links)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] extern crate alloc; extern crate core; diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 4e9d105df5f..ee3b0f47a4d 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -37,7 +37,7 @@ // that don't do anything but annoy us and cant actually ever be resolved. #![allow(bare_trait_objects)] #![allow(ellipsis_inclusive_range_patterns)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(all(not(feature = "std"), not(test)), no_std)] #[cfg(all(fuzzing, test))] From b385c5c6bc5777ac450b2eb0d0c78c35e79b6a53 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 13 Oct 2025 12:14:50 +0000 Subject: [PATCH 2/3] Add a CI job to emulate docs.rs builds Sadly, our docs.rs build failed for 0.1.6 due to the unstable `doc_auto_cfg` feature being removed. Here, we try to emulate docs.rs builds as best we can in CI to head that off in the future. Backport of d3faa03097b3fd979cf626d186bdf44818a0a5a7 --- .github/workflows/build.yml | 18 ++++++++++++++++ ci/check-docsrs.sh | 42 +++++++++++++++++++++++++++++++++++++ ci/ci-tests.sh | 19 ++--------------- 3 files changed, 62 insertions(+), 17 deletions(-) create mode 100755 ci/check-docsrs.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2190dd55c4b..cbc50ba581f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -233,6 +233,24 @@ jobs: RUSTFLAGS: '--cfg=taproot' RUSTDOCFLAGS: '--cfg=taproot' + check_docs: + runs-on: self-hosted + env: + # While docs.rs builds using a nightly compiler (and we use some nightly features), + # nightly ends up randomly breaking builds occasionally, so we instead use beta + # and set RUSTC_BOOTSTRAP in check-docsrs.sh + TOOLCHAIN: beta + steps: + - name: Checkout source code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Rust ${{ env.TOOLCHAIN }} toolchain + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }} + - name: Simulate docs.rs build + run: ci/check-docsrs.sh + fuzz: runs-on: self-hosted env: diff --git a/ci/check-docsrs.sh b/ci/check-docsrs.sh new file mode 100755 index 00000000000..b8776f8ac57 --- /dev/null +++ b/ci/check-docsrs.sh @@ -0,0 +1,42 @@ +#!/bin/bash +#shellcheck disable=SC2002,SC2086,SC2207 + +set -ex + +# Attempt to simulate the docsrs builds. Sadly its not entirely trivial as +# docs.rs reads metadata out of Cargo.toml which we don't want to have a whole +# parser for. + +WORKSPACE_MEMBERS=( $(cat Cargo.toml | tr '\n' '\r' | sed 's/\r //g' | tr '\r' '\n' | grep '^members =' | sed 's/members.*=.*\[//' | tr -d '"' | tr ',' '\n') ) +echo "${WORKSPACE_MEMBERS[@]}" +for CRATE in "${WORKSPACE_MEMBERS[@]}"; do + pushd "$CRATE" + CARGO_ARGS="" + RUSTDOC_ARGS="" + cat Cargo.toml | grep -A 100 '\[package.metadata.docs.rs\]' | tail -n +2 > /tmp/ldk-docsrs-rustdoc-config.txt + while read -r LINE; do + case "$LINE" in + "["*) break;; + "features"*) + OG_IFS="$IFS" + IFS=',' + for FEATURE in $(echo "$LINE" | sed 's/features.*=.*\[//g' | tr -d '"] '); do + export CARGO_ARGS="$CARGO_ARGS --features $FEATURE" + done + IFS="$OG_IFS" + ;; + "all-features = true") + export CARGO_ARGS="$CARGO_ARGS --all-features" + ;; + "rustdoc-args"*) + RUSTDOC_ARGS="$(echo "$LINE" | sed 's/rustdoc-args.*=.*\[//g' | tr -d '"],')" + ;; + esac + done < /tmp/ldk-docsrs-rustdoc-config.txt + rm /tmp/ldk-docsrs-rustdoc-config.txt + echo "Building $CRATE with args $CARGO_ARGS and flags $RUSTDOC_ARGS" + # We rely on nightly features but want to use a stable release in CI to avoid + # spurous breakage, thus we set RUSTC_BOOTSTRAP=1 here. + RUSTC_BOOTSTRAP=1 cargo rustdoc $CARGO_ARGS -- $RUSTDOC_ARGS + popd +done diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 397a464a93c..65cdb42d395 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -1,4 +1,5 @@ #!/bin/bash +#shellcheck disable=SC2002,SC2207 set -eox pipefail RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }') @@ -41,23 +42,7 @@ export RUST_BACKTRACE=1 echo -e "\n\nChecking the workspace, except lightning-transaction-sync." cargo check --verbose --color always -# When the workspace members change, make sure to update the list here as well -# as in `Cargo.toml`. -WORKSPACE_MEMBERS=( - lightning - lightning-types - lightning-block-sync - lightning-invoice - lightning-net-tokio - lightning-persister - lightning-background-processor - lightning-rapid-gossip-sync - lightning-custom-message - lightning-macros - lightning-dns-resolver - lightning-liquidity - possiblyrandom -) +WORKSPACE_MEMBERS=( $(cat Cargo.toml | tr '\n' '\r' | sed 's/\r //g' | tr '\r' '\n' | grep '^members =' | sed 's/members.*=.*\[//' | tr -d '"' | tr ',' ' ') ) echo -e "\n\nTesting the workspace, except lightning-transaction-sync." cargo test --verbose --color always From de3ddfaabe5e4c43dae56384961d5eab0750b0d6 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 10 Oct 2025 22:00:34 +0000 Subject: [PATCH 3/3] Bump crates to -beta1 This bumps `lightning` to 0.2-beta1, `lightning-invoice` to 0.34-beta1, `lightning-types` to 0.3-beta1, and `lightning-dns-resolver` to 0.3-beta1. While `lightning-types` really doesn't entirely merit a version bump here (we almost entirely just added features, which isn't a breaking change), we removed a few redundant feature flag modifying methods, which technically broke semver. Hopefully the next version will be able to avoid that. As a result of the `lightning-types` bump, `lightning-invoice` also gets bumped, though it would otherwise not need it. --- lightning-background-processor/Cargo.toml | 16 ++++++++-------- lightning-block-sync/Cargo.toml | 6 +++--- lightning-custom-message/Cargo.toml | 4 ++-- lightning-dns-resolver/Cargo.toml | 8 ++++---- lightning-invoice/Cargo.toml | 4 ++-- lightning-liquidity/Cargo.toml | 16 ++++++++-------- lightning-macros/Cargo.toml | 2 +- lightning-net-tokio/Cargo.toml | 6 +++--- lightning-persister/Cargo.toml | 6 +++--- lightning-rapid-gossip-sync/Cargo.toml | 6 +++--- lightning-transaction-sync/Cargo.toml | 8 ++++---- lightning-types/Cargo.toml | 2 +- lightning/Cargo.toml | 12 ++++++------ 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/lightning-background-processor/Cargo.toml b/lightning-background-processor/Cargo.toml index 415676f4ea1..7cece743a32 100644 --- a/lightning-background-processor/Cargo.toml +++ b/lightning-background-processor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-background-processor" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Valentine Wallace "] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -22,17 +22,17 @@ std = ["lightning/std", "lightning-liquidity/std", "bitcoin-io/std", "bitcoin_ha bitcoin = { version = "0.32.2", default-features = false } bitcoin_hashes = { version = "0.14.0", default-features = false } bitcoin-io = { version = "0.1.2", default-features = false } -lightning = { version = "0.2.0", path = "../lightning", default-features = false } -lightning-rapid-gossip-sync = { version = "0.2.0", path = "../lightning-rapid-gossip-sync", default-features = false } -lightning-liquidity = { version = "0.2.0", path = "../lightning-liquidity", default-features = false } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false } +lightning-rapid-gossip-sync = { version = "0.2.0-beta1", path = "../lightning-rapid-gossip-sync", default-features = false } +lightning-liquidity = { version = "0.2.0-beta1", path = "../lightning-liquidity", default-features = false } possiblyrandom = { version = "0.2", path = "../possiblyrandom", default-features = false } [dev-dependencies] tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] } -lightning = { version = "0.2.0", path = "../lightning", features = ["_test_utils"] } -lightning-invoice = { version = "0.34.0", path = "../lightning-invoice" } -lightning-liquidity = { version = "0.2.0", path = "../lightning-liquidity", default-features = false, features = ["_test_utils"] } -lightning-persister = { version = "0.2.0", path = "../lightning-persister" } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["_test_utils"] } +lightning-invoice = { version = "0.34.0-beta1", path = "../lightning-invoice" } +lightning-liquidity = { version = "0.2.0-beta1", path = "../lightning-liquidity", default-features = false, features = ["_test_utils"] } +lightning-persister = { version = "0.2.0-beta1", path = "../lightning-persister" } [lints] workspace = true diff --git a/lightning-block-sync/Cargo.toml b/lightning-block-sync/Cargo.toml index b001b47585a..51ff2502489 100644 --- a/lightning-block-sync/Cargo.toml +++ b/lightning-block-sync/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-block-sync" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Jeffrey Czyz", "Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -19,13 +19,13 @@ rpc-client = [ "serde_json", "chunked_transfer" ] [dependencies] bitcoin = "0.32.2" -lightning = { version = "0.2.0", path = "../lightning" } +lightning = { version = "0.2.0-beta1", path = "../lightning" } tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true } serde_json = { version = "1.0", optional = true } chunked_transfer = { version = "1.4", optional = true } [dev-dependencies] -lightning = { version = "0.2.0", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["_test_utils"] } tokio = { version = "1.35", features = [ "macros", "rt" ] } [lints] diff --git a/lightning-custom-message/Cargo.toml b/lightning-custom-message/Cargo.toml index fd0d302bf56..1f02d7bc732 100644 --- a/lightning-custom-message/Cargo.toml +++ b/lightning-custom-message/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-custom-message" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Jeffrey Czyz"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -15,7 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] bitcoin = "0.32.2" -lightning = { version = "0.2.0", path = "../lightning" } +lightning = { version = "0.2.0-beta1", path = "../lightning" } [lints] workspace = true diff --git a/lightning-dns-resolver/Cargo.toml b/lightning-dns-resolver/Cargo.toml index 19ffe44094e..9eda19a22fc 100644 --- a/lightning-dns-resolver/Cargo.toml +++ b/lightning-dns-resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-dns-resolver" -version = "0.3.0+git" +version = "0.3.0-beta1" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -8,12 +8,12 @@ description = "A crate which implements DNSSEC resolution for lightning clients edition = "2021" [dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false } -lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false } +lightning-types = { version = "0.3.0-beta1", path = "../lightning-types", default-features = false } dnssec-prover = { version = "0.6", default-features = false, features = [ "std", "tokio" ] } tokio = { version = "1.0", default-features = false, features = ["rt"] } [dev-dependencies] bitcoin = { version = "0.32" } tokio = { version = "1.0", default-features = false, features = ["macros", "time"] } -lightning = { version = "0.2.0", path = "../lightning", features = ["dnssec", "_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["dnssec", "_test_utils"] } diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 8e0c7587f4f..9c82cb57e0c 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "lightning-invoice" description = "Data structures to parse and serialize BOLT11 lightning invoices" -version = "0.34.0+git" +version = "0.34.0-beta1" authors = ["Sebastian Geisler "] documentation = "https://docs.rs/lightning-invoice/" license = "MIT OR Apache-2.0" @@ -19,7 +19,7 @@ std = [] [dependencies] bech32 = { version = "0.11.0", default-features = false } -lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false } +lightning-types = { version = "0.3.0-beta1", path = "../lightning-types", default-features = false } serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] } bitcoin = { version = "0.32.2", default-features = false, features = ["secp-recovery"] } diff --git a/lightning-liquidity/Cargo.toml b/lightning-liquidity/Cargo.toml index a29fc36043a..420f661a0f6 100644 --- a/lightning-liquidity/Cargo.toml +++ b/lightning-liquidity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-liquidity" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["John Cantrell ", "Elias Rohrer "] homepage = "https://lightningdevkit.org/" license = "MIT OR Apache-2.0" @@ -21,10 +21,10 @@ backtrace = ["dep:backtrace"] _test_utils = [] [dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false } -lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false } -lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde"] } -lightning-macros = { version = "0.2", path = "../lightning-macros" } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false } +lightning-types = { version = "0.3.0-beta1", path = "../lightning-types", default-features = false } +lightning-invoice = { version = "0.34.0-beta1", path = "../lightning-invoice", default-features = false, features = ["serde"] } +lightning-macros = { version = "0.2.0-beta1", path = "../lightning-macros" } bitcoin = { version = "0.32.2", default-features = false, features = ["serde"] } @@ -34,9 +34,9 @@ serde_json = { version = "1.0", default-features = false, features = ["alloc"] } backtrace = { version = "0.3", optional = true } [dev-dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["_test_utils"] } -lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] } -lightning-persister = { version = "0.2.0", path = "../lightning-persister", default-features = false } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false, features = ["_test_utils"] } +lightning-invoice = { version = "0.34.0-beta1", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] } +lightning-persister = { version = "0.2.0-beta1", path = "../lightning-persister", default-features = false } proptest = "1.0.0" tokio = { version = "1.35", default-features = false, features = [ "rt-multi-thread", "time", "sync", "macros" ] } diff --git a/lightning-macros/Cargo.toml b/lightning-macros/Cargo.toml index abeca85da24..55632d6d900 100644 --- a/lightning-macros/Cargo.toml +++ b/lightning-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-macros" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Elias Rohrer"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml index 3fde86c93bc..1e6eb7c9552 100644 --- a/lightning-net-tokio/Cargo.toml +++ b/lightning-net-tokio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-net-tokio" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -16,12 +16,12 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] bitcoin = "0.32.2" -lightning = { version = "0.2.0", path = "../lightning" } +lightning = { version = "0.2.0-beta1", path = "../lightning" } tokio = { version = "1.35", features = [ "rt", "sync", "net", "time" ] } [dev-dependencies] tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } -lightning = { version = "0.2.0", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["_test_utils"] } [lints] workspace = true diff --git a/lightning-persister/Cargo.toml b/lightning-persister/Cargo.toml index 593e19a95f7..50249f29504 100644 --- a/lightning-persister/Cargo.toml +++ b/lightning-persister/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-persister" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Valentine Wallace", "Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -18,7 +18,7 @@ tokio = ["dep:tokio"] [dependencies] bitcoin = "0.32.2" -lightning = { version = "0.2.0", path = "../lightning" } +lightning = { version = "0.2.0-beta1", path = "../lightning" } tokio = { version = "1.35", optional = true, default-features = false, features = ["rt-multi-thread"] } [target.'cfg(windows)'.dependencies] @@ -28,7 +28,7 @@ windows-sys = { version = "0.48.0", default-features = false, features = ["Win32 criterion = { version = "0.4", optional = true, default-features = false } [dev-dependencies] -lightning = { version = "0.2.0", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["_test_utils"] } bitcoin = { version = "0.32.2", default-features = false } tokio = { version = "1.35", default-features = false, features = ["macros"] } diff --git a/lightning-rapid-gossip-sync/Cargo.toml b/lightning-rapid-gossip-sync/Cargo.toml index 17d4687c3e8..9e3eba2c0bd 100644 --- a/lightning-rapid-gossip-sync/Cargo.toml +++ b/lightning-rapid-gossip-sync/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-rapid-gossip-sync" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Arik Sosman "] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -14,7 +14,7 @@ default = ["std"] std = ["bitcoin-io/std", "bitcoin_hashes/std"] [dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false } bitcoin = { version = "0.32.2", default-features = false } bitcoin_hashes = { version = "0.14.0", default-features = false } bitcoin-io = { version = "0.1.2", default-features = false } @@ -23,7 +23,7 @@ bitcoin-io = { version = "0.1.2", default-features = false } criterion = { version = "0.4", optional = true, default-features = false } [dev-dependencies] -lightning = { version = "0.2.0", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", features = ["_test_utils"] } [lints] workspace = true diff --git a/lightning-transaction-sync/Cargo.toml b/lightning-transaction-sync/Cargo.toml index 48100144d01..6dd34e1f22f 100644 --- a/lightning-transaction-sync/Cargo.toml +++ b/lightning-transaction-sync/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-transaction-sync" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Elias Rohrer"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning" @@ -31,15 +31,15 @@ electrum-rustls = ["electrum"] electrum-rustls-ring = ["_electrum", "electrum-client/use-rustls-ring"] [dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["std"] } -lightning-macros = { version = "0.2", path = "../lightning-macros", default-features = false } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false, features = ["std"] } +lightning-macros = { version = "0.2.0-beta1", path = "../lightning-macros", default-features = false } bitcoin = { version = "0.32.2", default-features = false } futures = { version = "0.3", optional = true } esplora-client = { version = "0.12", default-features = false, optional = true } electrum-client = { version = "0.24.0", optional = true, default-features = false, features = ["proxy"] } [dev-dependencies] -lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["std", "_test_utils"] } +lightning = { version = "0.2.0-beta1", path = "../lightning", default-features = false, features = ["std", "_test_utils"] } tokio = { version = "1.35.0", features = ["macros"] } [target.'cfg(not(target_os = "windows"))'.dev-dependencies] diff --git a/lightning-types/Cargo.toml b/lightning-types/Cargo.toml index 15b40aa669c..73fc7ff62f4 100644 --- a/lightning-types/Cargo.toml +++ b/lightning-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-types" -version = "0.3.0+git" +version = "0.3.0-beta1" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index 94919efe66d..adb76a0a453 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.2.0+git" +version = "0.2.0-beta1" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -32,9 +32,9 @@ grind_signatures = [] default = ["std", "grind_signatures"] [dependencies] -lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false } -lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false } -lightning-macros = { version = "0.2", path = "../lightning-macros" } +lightning-types = { version = "0.3.0-beta1", path = "../lightning-types", default-features = false } +lightning-invoice = { version = "0.34.0-beta1", path = "../lightning-invoice", default-features = false } +lightning-macros = { version = "0.2.0-beta1", path = "../lightning-macros" } bech32 = { version = "0.11.0", default-features = false } bitcoin = { version = "0.32.2", default-features = false, features = ["secp-recovery"] } @@ -51,8 +51,8 @@ inventory = { version = "0.3", optional = true } [dev-dependencies] regex = "1.5.6" -lightning-types = { version = "0.3.0", path = "../lightning-types", features = ["_test_utils"] } -lightning-macros = { path = "../lightning-macros" } +lightning-types = { version = "0.3.0-beta1", path = "../lightning-types", features = ["_test_utils"] } +lightning-macros = { version = "0.2.0-beta1", path = "../lightning-macros" } parking_lot = { version = "0.12", default-features = false } [dev-dependencies.bitcoin]