File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11fn 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}
You can’t perform that action at this time.
0 commit comments