mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-08 17:01:32 +02:00
a1d43bc74b
Bumps the patch group with 7 updates: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.82` | `1.0.83` | | [serde](https://github.com/serde-rs/serde) | `1.0.200` | `1.0.201` | | [serde_json](https://github.com/serde-rs/json) | `1.0.116` | `1.0.117` | | [zerocopy](https://github.com/google/zerocopy) | `0.7.33` | `0.7.34` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.59` | `1.0.60` | | [cxx](https://github.com/dtolnay/cxx) | `1.0.121` | `1.0.122` | | [cxx-build](https://github.com/dtolnay/cxx) | `1.0.121` | `1.0.122` | 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.