mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-10 00:44:21 +02:00
3facea27d4
Bumps the patch group with 5 updates: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.80` | `1.0.81` | | [clap](https://github.com/clap-rs/clap) | `4.5.2` | `4.5.3` | | [serde_yaml](https://github.com/dtolnay/serde-yaml) | `0.9.32` | `0.9.33` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [reqwest](https://github.com/seanmonstar/reqwest) | `0.11.25` | `0.11.26` | Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
exerciser
This is an mdBook renderer to generate templates for exercises from the Markdown
source. Given a Markdown file example.md
with one or more sections like:
<!-- File src/main.rs -->
```rust,compile_fail
{{#include example/src/main.rs:main}}
fn some_more_code() {
// TODO: Write some Rust code here.
}
```
and mdbook configuration in book.toml
like:
[output.exerciser]
output-directory = "comprehensive-rust-exercises"
It will create a file
book/exerciser/comprehensive-rust-exercises/example/src/main.rs
with the
appropriate contents.