From 1c15ffa357b94aea7feb711cd0a8a959a6aedf9f Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Mon, 4 Mar 2024 23:23:44 +0100 Subject: [PATCH] fix build --- .github/workflows/test.yaml | 2 +- app/Cargo.toml | 4 ++++ rust-toolchain.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ce6890e..af71975 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master with: - toolchain: nightly-2023-06-30 # duplicated in rust-toolchain.toml + toolchain: nightly-2024-03-03 # duplicated in rust-toolchain.toml targets: wasm32-unknown-unknown components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 diff --git a/app/Cargo.toml b/app/Cargo.toml index 4a035cd..f19a98e 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -17,3 +17,7 @@ leptos_router = { version = "0.5.0", features = ["csr", "nightly"] } models = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } + +[lints.clippy] +# leptos' #[component] macros generate empty doc comments which trigger this +empty_docs = "allow" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 04b4ace..0dddbee 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2023-06-30" # duplicated in github action +channel = "nightly-2024-03-03" # duplicated in github action targets = ["wasm32-unknown-unknown"]