Chris Wong
88154c4c42
Merge pull request #207 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 ( #205 )
...
Follow-up to #204
cc @berwyn
2020-08-07 21:24:00 +10:00
Berwyn Jamesson
f85e7b500b
Put Specialization behind a feature ( #204 )
2020-08-07 21:05:00 +10:00
Berwyn Jamesson
ad8dc8c4c7
Add an off-by-default 'unstable' flag ( #202 )
...
* 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!
( #203 )
...
* 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 ( #201 )
...
* 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 rust-lang/rust#71420 .
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)] ( #197 )
...
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)] ( #193 )
2020-06-14 22:29:51 +10:00
brian
240ecf03b8
Add example to docs of custom element ( #186 )
...
* 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 #182 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 #182 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 #180 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. ( #177 )
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 ( #176 )
2019-06-16 18:03:40 +12:00
Malthe Borch
e302ba57e0
Use syn instead of literalext ( #174 )
2019-05-18 15:44:43 +12:00
Chris Wong
ee74c3ec49
Clean up partials docs
2019-05-09 21:30:04 +12:00
Thomas Lovegrove
f3a4c298de
Add implicit div class/id shorthand #172 ( #173 )
...
* 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
f652784adb
Add overflow: auto
to documentation CSS
...
Closes #171
2019-04-03 20:16:32 +13:00
Chris Wong
13a5cfcaa3
Document the documentation
...
[skip ci]
2019-03-30 16:23:15 +13:00
Chris Wong
b86ba7af85
Use absolute paths in generated code
...
Closes #170
2019-03-28 20:18:12 +13:00
Chris Wong
eb4ef2f969
Travis: build and deploy the book
2019-03-27 22:13:47 +13:00
Chris Wong
c5e8eb4d5f
Travis: split build into jobs
...
- Change benchmarks build to use `cargo test --benches`. This runs the
benchmarks and compiles faster than `cargo bench`.
Closes #169
2019-03-27 21:00:00 +13:00
Chris Wong
dae5074c8d
Build all the features together (apparently it works now)
2019-03-25 21:22:38 +13:00
Chris Wong
b681a93cbd
Use stable compiletest
2019-03-25 20:47:48 +13:00
Chris Wong
5b027d08ae
Remove maud_extras
crate ( #168 )
...
I don't think the examples in this crate are very useful, or demonstrate how to best use the library.
2019-03-25 20:36:23 +13:00
Chris Wong
be10b9837e
Merge pull request #166 from lfairy/new-docs
...
Redesign the book
2019-03-25 19:53:49 +13:00
Chris Wong
5c2d5ca5e8
Update readme link
2019-03-24 16:22:52 +13:00
Chris Wong
5632250644
In watch script, exclude built files from watch
2019-03-24 14:56:44 +13:00
Chris Wong
3a038d8f95
Tweak colors
2019-03-24 14:51:41 +13:00