mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 06:20:32 +02:00
aaca44f62b
The dprint formatter is a flexible system which will use sandboxed WebAssembly formatters to format our code (mostly: it calls out to `rustfmt` for Rust code). A particularly interesting feature is that dprint can format Rust code blocks in the Markdown files. However, before we turn that on, we need to have a way to normalize the Markdown text as it is extracted[1]. That is so that the word put into the translations is kept after the reformatting. [1]: https://github.com/google/mdbook-i18n-helpers/issues/19
16 lines
450 B
TOML
16 lines
450 B
TOML
[package]
|
|
name = "mdbook-exerciser"
|
|
version = "0.1.0"
|
|
authors = ["Andrew Walbran <qwandor@google.com>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/google/comprehensive-rust"
|
|
description = "A tool for extracting starter code for exercises from Markdown files."
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.68"
|
|
log = "0.4.17"
|
|
mdbook = "0.4.25"
|
|
pretty_env_logger = "0.4.0"
|
|
pulldown-cmark = { version = "0.9.2", default-features = false }
|