mdbook-to-example 0.1.0

Turns an mdbook book into a Rust example
Documentation
  • Coverage
  • 0%
    0 out of 8 items documented0 out of 7 items with examples
  • Size
  • Source code size: 9.43 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 300.63 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • simonhyll

mdbook-to-example

Turns an mdbook book into a Rust example that can be used to create documentation with cargo doc

Getting started

// build.rs
fn main() -> Result<(), std::io::Error> {
    let _ = mdbook_to_example::Builder::new()
        .set_name("package-book")
        .run();
    Ok(())
}