Commit graph

165 commits

Author SHA1 Message Date
Chris Wong
ee82847d8f Silence "specialization is incomplete" warning
See .

This doesn't need a release (or a changelog entry) as it just fixes a warning.
2020-06-22 17:36:22 +10:00
Chris Wong
34a79ee706 Release 0.22 2020-06-20 19:57:51 +10:00
Chris Wong
4d1f18ad8b Fix compiletest 2020-04-24 23:46:57 +10:00
Christopher Czyba
ba3f12a65a [actix-web] Only support actix-web 2.0.0 from now on
As discussed in Pull Request  we will only support actix-web 2.0.0
from this point onwards. If you still wish to use a previous version of
actix-web you'll have to pin the version.
2020-03-07 13:46:41 +01:00
Christopher Czyba
8e8e078dc4 [actix-web] Add support for actix-web >= 2.0.0
In order to support both actix-web < 2.0.0 and >= 2.0.0 at the same
time I added a feature actix-web-2, which enables the actix-web
dependency with the respective version und the name active-web-2-dep
and the futures dependency which is required(?) for implementing the
Responder trait for >= 2.0.0.

Thus the user of maud has the choice to use actix-web in the version
they prefer.
2020-03-03 20:20:30 +01:00
Chris Wong
d0f29ae410 Change username from lfairy to lambda-fairy 2019-09-14 13:48:59 +12:00
Chris Wong
5e2c9e26a8 Release 0.21.0 2019-07-01 21:03:44 +12:00
Chris Wong
90cc11e9ce Add dyn 2019-06-16 22:18:19 +12:00
Jacob
d18cd75b39 Updated actix-web () 2019-06-16 18:03:40 +12:00
Thomas Lovegrove
f3a4c298de Add implicit div class/id shorthand ()
* Add implicit div class/id shorthand

* Add newline

* Add short explanation and example of implicit div
2019-04-20 13:39:24 +12:00
Chris Wong
b86ba7af85 Use absolute paths in generated code
Closes 
2019-03-28 20:18:12 +13:00
Chris Wong
b681a93cbd Use stable compiletest 2019-03-25 20:47:48 +13:00
Chris Wong
39f543c819 Rust 2018 2019-03-16 20:18:58 +13:00
Chris Wong
6de2cf1998 Release 0.20.0 2019-01-17 16:01:55 +13:00
likewhatevs
51a0243c40 bump rocket to 0.4 ()
* Update Cargo.toml

bump rocket ver to 0.4

* Update maud/Cargo.toml

accept rocket >= 0.3, < 0.5

Co-Authored-By: likewhatevs <12107998+likewhatevs@users.noreply.github.com>
2018-12-17 21:06:41 +13:00
Joe Taber
892aaac383 Set content-type and charset for actix feature 2018-12-15 16:33:50 +13:00
Chris Wong
b1dd7b729f Merge branch 'keyword_warn_compiletest' 2018-12-09 11:49:50 +13:00
Chris Wong
6d9aa86506 Fix formatting 2018-12-09 11:21:23 +13:00
Isaac van Bakel
59d9ec9620 Moved compiletests into the maud crate 2018-11-05 23:31:36 +00:00
Chris Wong
0ccb2829c9 Release 0.19.0 2018-10-20 17:15:57 +13:00
Chris Wong
6aee65a6f1 Update to rustc 1.31.0-nightly (fddcd316a 2018-10-05) 2018-10-06 18:03:15 +13:00
Chris Wong
35d5204cab Update to rustc 1.30.0-nightly (9395f0af7 2018-09-02) 2018-09-03 20:01:39 +12:00
Chris Wong
66ddbcac98 Remove maud_lints
It's undocumented, it doesn't do much, and it keeps breaking.
2018-09-03 20:01:39 +12:00
Philipp Hansch
e939beb7ac Update actix-web () 2018-08-23 19:36:11 +12:00
Chris Wong
f17e21423e Remove #![feature(use_extern_macros)] 2018-08-18 16:25:15 -07:00
Chris Wong
e273d897cf Parse arbitrary expressions in classes and IDs
Closes 
2018-08-13 16:15:58 -07:00
Chris Wong
0585df11a5 Fix examples and start testing them 2018-08-13 15:34:08 -07:00
Chris Wong
de6f654614 Release 0.18.1 2018-07-18 20:03:44 +12:00
Chris Wong
8dbcdab2bf Update to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)
Closes 
2018-07-18 19:41:47 +12:00
Chris Wong
aadc749715 Release 0.18.0 2018-07-15 21:46:16 +12:00
Chris Wong
a1a0aa0200 Allow omitting the comma on the last match arm 2018-06-22 21:31:08 +12:00
Chris Wong
1f68ef0526
Merge pull request from lfairy/snaggletooth
Require braces around the body of an element
2018-06-20 19:57:23 +12:00
Chris Wong
41aea5f92c Require braces around element bodies 2018-06-16 21:46:28 +12:00
Coleman McFarland
8ce98f689f Build features separately.
Compiling rocket and actix-web together presents problems, since ring - a
native dependency - cannot have more than one version linked.
2018-06-15 20:23:21 +12:00
Coleman McFarland
fd59814f8b impl Responder for actix-web framework
It looks similar to the Rocket implementation, and functionally is also similar:
a syncronous response for PreEscaped<String>

Refs 
2018-06-15 20:23:21 +12:00
Chris Wong
67b6fb05e9 Release 0.17.5 2018-05-26 11:57:51 +12:00
Chris Wong
9d90e94c87
Change macro internals to use an explicit AST () 2018-05-17 20:38:44 +12:00
Chris Wong
7c63fc138a Release 0.17.4 2018-05-02 20:49:17 +12:00
Chris Stadler
e606e64ef2 Enable proc_macro_non_items feature flag 2018-04-28 12:59:24 +12:00
Chris Wong
41f7744fe1 Release 0.17.3 2018-04-21 17:20:42 +12:00
Coleman McFarland
2d6558c769 Use FromIterator<_> for TokenStream
Also remove conservative_impl_trait feature flag, as this is now a
stable feature.

Refs 
2018-04-16 00:54:32 -07:00
Chris Wong
62298aec55 Release 0.17.2 2017-11-19 20:12:38 +13:00
Ernestas Poskus
250c736b11 Bump iron to 0.6.0 version 2017-11-12 23:37:41 +13:00
Chris Wong
d1a44be51d Silence "unknown lint" warning when running not-Clippy 2017-10-07 16:26:45 +13:00
Chris Wong
f6c9e25722 Enable lints on tests and extras; fix maud_doctype lint not firing 2017-10-07 14:45:06 +13:00
Lukas Kalbertodt
97a4bdf30e Add Clone and Copy impl to PreEscaped via derive () 2017-08-26 12:14:13 +12:00
Chris Wong
a902c97091 Allow braces in toggled classes 2017-08-12 16:50:54 +12:00
Chris Wong
080b461f1b Release 0.17.1 2017-08-11 21:15:20 +12:00
Chris Wong
f046b64409 Avoid name collisions when Render trait is already in scope
Closes 
2017-08-11 20:00:10 +12:00
Chris Wong
9fc96ea5c3 Fix docs to use semicolons instead of slashes 2017-08-05 16:42:15 +12:00