From 2e96b90748269eff94b3ca1994f2d976bd1c79a3 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Tue, 28 Nov 2023 15:19:27 +0100 Subject: [PATCH 1/2] Bump our MSRV to rustc 1.63 --- .github/workflows/build.yml | 11 ++--------- src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f2b238..f7157dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: include: - toolchain: stable check-fmt: true - - toolchain: 1.48.0 + - toolchain: 1.63.0 platform: ubuntu-latest msrv: true @@ -28,14 +28,7 @@ jobs: - name: Pin crates for MSRV if: matrix.msrv run: | - # The serde_json crate switched to Rust edition 2021 starting with v1.0.101, i.e., has MSRV of 1.56 - cargo update -p serde_json --precise "1.0.99" --verbose - cargo update -p serde --precise "1.0.156" --verbose - # The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56 - cargo update -p quote --precise "1.0.30" --verbose - # The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56 - cargo update -p proc-macro2 --precise "1.0.65" --verbose - cargo update -p chrono --precise "0.4.24" --verbose + # No need to pin currently - name: Cargo check run: cargo check --release - name: Check documentation diff --git a/src/lib.rs b/src/lib.rs index 9d5df54..9ee57ca 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,8 +11,8 @@ //! # `lightning-liquidity` //! Types and primitives to integrate a spec-compliant LSP with an LDK-based node. #![deny(missing_docs)] -#![deny(broken_intra_doc_links)] -#![deny(private_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] +#![deny(rustdoc::private_intra_doc_links)] #![allow(bare_trait_objects)] #![allow(ellipsis_inclusive_range_patterns)] #![allow(clippy::drop_non_drop)] From daba903205056b7b7836bb45f9b3aed802af0b68 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Tue, 28 Nov 2023 15:21:57 +0100 Subject: [PATCH 2/2] Bump crate edition to 2021 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2bc1794..261762c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "lightning-liquidity" version = "0.1.0" authors = ["John Cantrell ", "Elias Rohrer "] -edition = "2018" +edition = "2021" description = "Types and primitives to integrate a spec-compliant LSP with an LDK-based node." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html