Skip to content

Commit 4b3902c

Browse files
committed
update deps, add cfgs
1 parent b9bebf9 commit 4b3902c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
lint-and-push:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions-rs/toolchain@v1
11+
- uses: actions/checkout@v5
12+
- uses: dtolnay/rust-toolchain@stable
1313
with:
1414
toolchain: stable
15-
override: true
15+
components: clippy
1616
- run: cargo clippy -v
1717
- uses: katyo/publish-crates@v2
1818
with:

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions-rs/toolchain@v1
12+
- uses: actions/checkout@v5
13+
- uses: dtolnay/rust-toolchain@stable
1414
with:
1515
toolchain: stable
16-
override: true
16+
components: clippy
1717
- run: cargo clippy -v

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
fn main() {
2-
// Copy the images to the output when generating documentation
32
println!("cargo:rerun-if-changed=assets/doc");
3+
#[cfg_attr(docsrs, feature(doc_cfg))]
44
std::fs::copy(".content/logo.webp", "target/doc/logo.ico")
55
.expect("Failed to copy crate favicon when building documentation.");
6+
#[cfg_attr(docsrs, feature(doc_cfg))]
67
std::fs::copy(".content/logo.webp", "target/doc/logo.webp")
78
.expect("Failed to copy crate logo when building documentation.");
89
}

0 commit comments

Comments
 (0)