Commit graph

629 commits

Author SHA1 Message Date
Chris Wong
3e0b2d8df1 Fix documentation deployment
The `cleanup` flag is only available on [dpl v2] which is opt-in. Moreover, dpl v2 defaults to `cleanup: false` anyway so there is no need to specify it.

[dpl v2]: https://docs.travis-ci.com/user/deployment-v2

cc 
2020-10-06 12:39:52 +11:00
Chris Wong
109c59bf62
Fix Travis CI warnings () 2020-10-06 13:27:15 +13:00
Chris Wong
49f3c46bd2
Avoid unstable specialization with this one weird trick! ()
Rustaceans hate him!
2020-10-05 22:44:27 +13:00
Chris Wong
165cfd5fe0
Update benchmarks and documentation dependencies ()
* Add `--locked` to benchmarks and documentation builds

* Update `Cargo.lock` and fix docs generator
2020-09-28 22:57:55 +10:00
Chris Wong
7f354e2c21 Travis: replace --all with --workspace 2020-09-28 22:13:07 +10:00
Chris Wong
64390ec0ce
Switch to version_check ()
version_check has fewer dependencies, and is already used by proc-macro-error and Rocket.
2020-09-28 22:03:06 +10:00
Chris Wong
250d93df9a
Enable stable support 🎉 ()
Infer whether nightly features are available using rustc_version. If this fails, assume stable.

Closes 
2020-09-28 11:06:44 +10:00
Chris Wong
d66c2d66fd
Remove #![feature(proc_macro_hygiene)] () 2020-09-27 23:17:41 +10:00
Chris Wong
2603c1c317 Fix Travis CI badge 2020-09-27 22:50:29 +10:00
Chris Wong
cb81ebe961
Merge pull request from lambda-fairy/rustfmt
Add rustfmt and format the project
2020-09-27 21:58:55 +10:00
Chris Wong
50a7e9ce37 Format everything! 2020-09-27 21:36:27 +10:00
Chris Wong
db28f4c100 Add trybuild tests to config 2020-09-27 21:33:37 +10:00
Chris Wong
0bab139b66 Skip an html! call 2020-09-27 21:30:55 +10:00
Chris Wong
2801530953 Enforce rustfmt on Travis CI 2020-09-27 20:59:49 +10:00
Chris Wong
88154c4c42
Merge pull request from CreepySkeleton/master
Move to proc-macro-error and proc-macro2 and trybuild
2020-09-27 20:39:48 +10:00
Chris Wong
8f025e2c86 Remove unused import 2020-09-27 20:14:16 +10:00
CreepySkeleton
4d3d057cc2 Move to trybuild 2020-08-31 11:57:57 +03:00
CreepySkeleton
3e23e0d784 Turn the warning into a hard error 2020-08-31 11:57:57 +03:00
CreepySkeleton
7b06af4369 Fix cargo clippy lints 2020-08-31 11:57:56 +03:00
CreepySkeleton
7d16af9a06 Make use of SpanRange instead of Span 2020-08-31 11:57:55 +03:00
CreepySkeleton
ef120ab2d0 Transfer codebase from ParseResult to abort! 2020-08-30 23:28:49 +03:00
Chris Wong
a495522259
Put specialized impls in a logical order ()
Follow-up to 

cc @berwyn
2020-08-07 21:24:00 +10:00
Berwyn Jamesson
f85e7b500b
Put Specialization behind a feature () 2020-08-07 21:05:00 +10:00
Berwyn Jamesson
ad8dc8c4c7
Add an off-by-default 'unstable' flag ()
* Add an off-by-default 'unstable' flag

* Remove explicit web framework feature names

Having forgotten that deps and features can't have the same name,
attempts to better document all the features in one place were
misplaced.

* Split up tests on Travis

`cargo test` doesn't allow `--workspace` and `--features`
simultaneously, so we're forced to test each package separately in order
to manually specify features (or in this case, test everything but
unstable)

* Update Travis Config

- Document the state of Cargo workspaces and features
- Update the benchmarks to trickle down the 'unstable' feature
2020-07-21 22:04:48 +10:00
Chris Wong
162a15ca83
Use std::matches! ()
* Use `std::matches!`

- Remove crates.io `matches` in favor of the `std` version

- Fix Clippy warning by changing a `match ... { ... }` to
  `matches!(...)`

* Satisfy `blocks_in_if_conditions`
2020-07-18 17:49:01 +10:00
Byte
a10130a9ac
Switch to 3rd party quote macro ()
* Add proc_macro2 and quote dependencies

* Completly switch over to proc_macro2 where possible

* Remove unessesary ::from casts

* Remove pendantic cast that i missed

* Make Builder::push_tokens accept TokenStream

* Remove stray commented out code

* Reword unclear comment on `Span` to a todo item

* Move comment closer to its intended line

* Use into instead of explicit conversion
2020-07-12 21:42:14 +10:00
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
fe5fcb13e9 Update dependencies for benchmarks and docs 2020-06-20 19:34:04 +10:00
Chris Wong
abb1e799f9
Remove #![feature(crate_visibility_modifier)] ()
The documentation builder is an executable crate, so crate-level visibility doesn't add much.
2020-06-20 19:22:10 +10:00
Byte
03e03e2e7d
Replace Span::def_site and remove #![feature(proc_macro_def_site)] () 2020-06-14 22:29:51 +10:00
brian
240ecf03b8
Add example to docs of custom element ()
* Add example to docs of custom element

* incorporate feedback
2020-05-28 16:04:19 +10:00
Chris Wong
4d1f18ad8b Fix compiletest 2020-04-24 23:46:57 +10:00
Chris Wong
dfa7d5a848
Merge pull request from czyba/master
actix-web >= 2.0.0 support
2020-03-21 22:42:54 +11:00
Christopher Czyba
34d1b6ab36 Revert "[web-frameworks] Mention support for both actix-web versions 1 and 2"
This reverts commit 396df07da4.
2020-03-07 13:53:42 +01:00
Christopher Czyba
fca333cc36 [CHANGELOG] Mention actix-web 2.0.0 support 2020-03-07 13:52:49 +01: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
396df07da4 [web-frameworks] Mention support for both actix-web versions 1 and 2 2020-03-03 20:30:46 +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
c119dbc4b1
Merge pull request from AlterionX/master
Upgrade syn to 1.0.8. Upgrade matches to 0.1.8
2019-11-24 16:35:51 +13:00
AlterionX
8fee6523c3 Modified lock file 2019-11-23 19:52:27 -06:00
AlterionX
42108c3517 Upgrade syn to 1.0.8. Upgrade matches to 0.1.8 2019-11-23 19:47:52 -06:00
Chris Wong
da20d19232 Update benchmark dependencies to fix compile error 2019-11-24 13:26:18 +13:00
Chris Wong
f5dbccdc96
Fix deploy.sh to actually build in parallel 2019-09-14 19:15:55 +12: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
kstrohbeck
680607dfae Update actix-web support documentation. () 2019-06-29 12:29:04 +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
Malthe Borch
e302ba57e0 Use syn instead of literalext () 2019-05-18 15:44:43 +12:00