1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-15 06:20:32 +02:00
comprehensive-rust/mdbook-exerciser
Martin Geisler 8b863c0446
Update Rust dependencies (#1487)
This fixes a low-criticality vulnerability in `atty` (on Windows):

  https://github.com/advisories/GHSA-g98v-hv3f-hcfr

I only updated the dependencies here which didn’t require code changes.
2023-11-20 09:26:19 -05:00
..
src rustfmt with imports_granularity = "module". 2023-04-05 16:28:07 +01:00
Cargo.toml Update Rust dependencies (#1487) 2023-11-20 09:26:19 -05:00
README.md Format files with dprint (#711) 2023-05-30 17:04:19 +02:00

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.