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.
35 lines
729 B
TOML
35 lines
729 B
TOML
[book]
|
|
title = "heuropt — the user guide"
|
|
description = "A practical Rust toolkit for heuristic single-, multi-, and many-objective optimization."
|
|
authors = ["Stephen Waits"]
|
|
language = "en"
|
|
src = "src"
|
|
|
|
[build]
|
|
build-dir = "../../target/book"
|
|
create-missing = false
|
|
|
|
[output.html]
|
|
default-theme = "rust"
|
|
preferred-dark-theme = "navy"
|
|
git-repository-url = "https://github.com/swaits/heuropt"
|
|
edit-url-template = "https://github.com/swaits/heuropt/edit/main/docs/book/{path}"
|
|
site-url = "/heuropt/"
|
|
no-section-label = true
|
|
|
|
[output.html.fold]
|
|
enable = true
|
|
level = 1
|
|
|
|
[output.html.search]
|
|
enable = true
|
|
limit-results = 30
|
|
teaser-word-count = 30
|
|
use-boolean-and = true
|
|
|
|
[output.html.print]
|
|
enable = true
|
|
|
|
[rust]
|
|
edition = "2021"
|