Chris Wong
bd228c01a9
Travis: don't use --manifest-path
for Clippy
...
For some reason, `cargo clippy` ignores the tests when run with the
`--manifest-path` option.
2017-07-31 22:05:23 +12:00
Chris Wong
3de5f7f3e9
Move lints into their own maud_lints crate
2017-07-30 22:18:26 +12:00
Chris Wong
2353a64ce9
Merge branch 'proc-macro'
2017-07-30 14:06:03 +12:00
Chris Wong
565360f2d5
Travis: remove tab check
...
We should be using a more comprehensive formatting check based on
rustfmt instead.
2017-07-29 20:14:13 +12:00
Chris Wong
f1fbea181a
Reduce duplication in Travis config
2017-07-29 20:06:28 +12:00
Chris Wong
2213c0dc32
Move escaping routines into a shared maud_htmlescape crate
2017-07-29 20:03:00 +12:00
Chris Wong
88c8a7e8c9
Revert "Silence collapsible_if
warnings ( #93 )"
...
This reverts commit a72877cb55
.
2017-07-23 13:58:42 +12:00
Chris Wong
a72877cb55
Silence collapsible_if
warnings ( #93 )
2017-07-08 20:21:04 +12:00
Chris Wong
f8f0b0049f
Travis: show commit range in tab checker
2017-03-07 21:46:02 +13:00
Chris Wong
d8fa8b18fa
Travis: forbid tabs
2017-03-07 21:36:51 +13:00
Chris Wong
7925fbad43
Travis: add cargo-clippy to $PATH
2016-12-17 14:18:48 +13:00
Chris Wong
2063e61211
Travis: don't fail the build if Clippy is broken
2016-12-12 21:33:50 +13:00
Chris Wong
e05af0a326
Add maud_extras crate
...
Closes #64
2016-11-22 22:17:15 +13:00
Chris Wong
a3908faf24
Travis: run Clippy :)
2016-11-06 12:49:44 +13:00
Chris Wong
fedaded75a
Release 0.11.1
2016-09-25 12:50:33 +13:00
Chris Wong
f12efe4299
Rewrite everything to use Strings instead of writers
...
After fiddling around with zero-allocation solutions, I concluded that
all non-allocating approaches are too annoying to work with in realistic
code. Using closures leads to yak-shaving with lifetimes; and because
Iron needs to take ownership of the response body we often end up
cloning the input data anyway.
Removing this constraint has let me simplify the entire system, removing
a net 300 lines from the library. The `html!` macro no longer takes a
writer, and instead returns a `PreEscaped<String>`. This means that the
result of an `html!` can be spliced directly into another `html!`,
removing the need for the `impl Template` rigmarole.
To rub it in, benchmarks show the new code is in fact *faster* than it
was before. How lovely.
2016-09-23 19:22:22 +12:00
Chris Wong
0379073308
Add iron-maud to Travis
2016-09-20 23:37:10 +12:00
Chris Wong
c68f98d3a7
Expose Escaper
type
2015-09-12 18:48:14 +12:00
Chris Wong
dd97989a2b
Travis: Use Rust Nightly
2015-05-26 22:35:10 +12:00
Chris Wong
054453be88
Travis: use container-based infrastructure
...
http://docs.travis-ci.com/user/workers/container-based-infrastructure/
2015-04-15 18:18:12 +12:00
Chris Wong
4653b2e2d8
Add html_debug! macro; remove print-expansion feature
2015-04-13 20:41:12 +12:00
Chris Wong
e5711929e3
print-expansion for all your expansion printing needs
2015-04-11 10:19:28 +12:00
Chris Wong
9b1ba74b7d
Simplify Travis script
2015-02-27 17:26:14 +13:00
Chris Wong
6f08b62922
Abandon all hope of getting doc uploads to work
2015-01-29 14:57:28 +13:00
Chris Wong
9abc8003f3
Update Rust CI token (again)
2015-01-28 21:54:34 +13:00
Chris Wong
f1ec5b79e8
Update Rust CI token
2015-01-19 17:07:53 +13:00
Chris Wong
2ec018b00d
Upload docs to rust-ci
2014-12-19 12:44:03 +13:00
Chris Wong
b40103d66f
Fix Travis
2014-12-19 12:41:16 +13:00
Chris Wong
34031b2f95
Add Travis
2014-12-17 21:33:52 +13:00