diff --git a/.travis.yml b/.travis.yml index 646d2ca..311f792 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,5 @@ language: rust rust: nightly sudo: false script: - - ( cd maud && cargo test --features iron --verbose ) - - ( cd maud_macros && cargo test --verbose ) + - ( cd maud && cargo test --all-features --verbose ) + - ( cd maud_macros && cargo test --all-features --verbose ) diff --git a/README.md b/README.md index e0b615f..fdae1e7 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,19 @@ # <img align="right" src="maud.png" alt="HTML5 rocks." title="HTML5 rocks."> maud [](http://travis-ci.org/lfairy/maud) [](https://crates.io/crates/maud) -Maud is a macro for generating HTML. +[Documentation][book] • [API reference][apiref] -[Documentation] +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. -[API reference] +Note that Maud depends on the unstable [syntax extension APIs][plugins], and so requires the Nightly version of Rust. -[Documentation]: https://maud.lambda.xyz/ -[API reference]: https://lambda.xyz/maud/maud/ +For more info on Maud, see the [official book][book]. -## Warning +[book]: https://maud.lambda.xyz/ +[apiref]: https://lambda.xyz/maud/maud/ +[plugins]: https://doc.rust-lang.org/book/compiler-plugins.html -The design of Maud is still in flux, and may change or break at any time. Caveat emptor! +## Stability + +As of version 0.11, I am satisfied with the core syntax and semantics of the library. Most versions from now on should not change too much. + +The underlying syntax extension API is still unstable though, so updating your compiler may break things. Please file an issue when this happens! diff --git a/maud/Cargo.toml b/maud/Cargo.toml index 9973ce1..7ae25a1 100644 --- a/maud/Cargo.toml +++ b/maud/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "maud" -version = "0.11.0" +version = "0.11.1" authors = ["Chris Wong <lambda.fairy@gmail.com>"] license = "MIT/Apache-2.0" diff --git a/maud_macros/Cargo.toml b/maud_macros/Cargo.toml index e6e332a..a518088 100644 --- a/maud_macros/Cargo.toml +++ b/maud_macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "maud_macros" -version = "0.11.0" +version = "0.11.1" authors = ["Chris Wong <lambda.fairy@gmail.com>"] license = "MIT/Apache-2.0" @@ -14,7 +14,7 @@ Compile-time HTML templates. [dependencies.maud] path = "../maud" -version = "=0.11.0" +version = "0.11.1" [lib] name = "maud_macros" diff --git a/upload-docs b/upload-docs index de42a6e..30c7d12 100755 --- a/upload-docs +++ b/upload-docs @@ -3,10 +3,10 @@ set -e base="$(dirname "$(readlink -f $0)")" -cd "$base/maud_macros" +cd "$base/maud" cargo clean -cargo doc +cargo doc --all-features --no-deps cd target/doc