No description
* Parse many literals along side idents in names * Accept ints as literals We will not accept floats because `123.123` is a float literal, but `123 .123` is a int literal followed by a class called `123`. This could be confusing so it will not be accepted. Ints can have leading zeros, like `0123`, but this is not guarranteed by the rust compiler to always work, which could cause future errors. An example would be truncating `001` to `1`. * Limit accepted literals using existing function * Update error output for non-string-literal * Test output of ints with specified type This outputs exactly what is written, which is the obvious behaviour * Use nightly version to generate output Previous verison was not using nightly, causing errors in the automated test that are using nightly * Replace "byte_string" with "raw_string" in test --------- Co-authored-by: Chris Wong <lambda.fairy@gmail.com> |
||
---|---|---|
.github/workflows | ||
docs | ||
doctest | ||
maud | ||
maud_macros | ||
.editorconfig | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
maud.png | ||
README.md | ||
RELEASE_PROCESS.md | ||
rustfmt.toml |
maud
Documentation (source) • API reference • Change log
Maud is an HTML template engine for Rust.
It's implemented as a macro, html!
,
which compiles your markup to specialized Rust code.
This unique approach makes Maud templates
blazing fast, super type-safe, and easy to deploy.
For more info on Maud, see the official book.