ci: fix mdbook edition + isolate fuzz crate from workspace

mdbook 0.4.40 (the version pinned in .github/workflows/docs.yml)
doesn't recognize edition = '2024' under [rust], failing the docs
build. Drop to '2021' for the in-book code blocks; the heuropt
crate itself stays on Rust 2024.

Adding [workspace] to the root Cargo.toml made fuzz/Cargo.toml
inherit it, but fuzz isn't in the members list — every fuzz-smoke
job failed with 'current package believes it's in a workspace when
it's not'. Add an empty [workspace] table at the top of
fuzz/Cargo.toml so cargo treats fuzz as the root of its own
workspace and stops walking up.
This commit is contained in:
2026-05-06 08:15:55 -06:00
parent 5b5fe50df3
commit d564f862d7
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -31,4 +31,4 @@ use-boolean-and = true
enable = true
[rust]
edition = "2024"
edition = "2021"