Chris Wong
202dc1ef01
Fix pulldown-cmark/ammonia example in docs ( #249 )
...
Closes #247
2021-01-06 23:09:59 +13:00
Chris Wong
31bd465b52
Generalize Into impl to From ( #248 )
...
This fixes a Clippy lint.
2021-01-04 21:45:33 +13:00
Chris Wong
07f31e9342
Enable --all-targets for Clippy ( #246 )
...
Closes #209
2020-12-23 20:02:34 +13:00
Chris Wong
5f7cec4da1
Remove Travis status badges ( #245 )
...
cc #243
2020-12-23 19:38:27 +13:00
Chris Wong
24593d8118
Switch to GitHub Actions ( #244 )
...
Closes #243
2020-12-23 19:20:58 +13:00
Chris Wong
167afc65bd
Changelog: make "Unreleased" a link
2020-12-01 10:45:54 +13:00
Chris Wong
0358af67dc
Improve "elements and attributes" documentation ( #242 )
2020-12-01 10:44:05 +13:00
Chris Wong
d5dec51c3a
Make the ?
suffix for empty attributes optional ( #238 )
2020-11-11 16:47:23 +13:00
Chris Wong
6ebe6b1fe1
Clean up tests ( #237 )
...
- Call `.into_string()` later
- Rename UI test to match Rust convention
2020-11-07 22:44:47 +13:00
Chris Wong
f1e2b71fed
Use rustfmt from stable instead of nightly ( #236 )
2020-11-02 23:33:40 +13:00
Chris Wong
0c9b6f2150
Release 0.22.1 ( #235 )
...
* Release 0.22.1
* Update benchmarks and docs dependencies
* Comrak breaking change
2020-11-02 19:24:13 +13:00
Chris Wong
159b4080d2
Document splices in classes and IDs ( #232 )
2020-11-02 16:33:03 +11:00
Chris Wong
3af1397541
Rewrite docs ( #232 )
2020-11-02 12:53:27 +13:00
Chris Wong
39a866d946
Enable LXD for faster builds ( #233 )
...
It seems a lot faster – the "All features" build is ~ 1:45 instead of ~ 3:15.
2020-10-11 23:43:41 +13:00
Chris Wong
eac710815b
Update changelog for stable support
2020-10-11 20:11:44 +11:00
Rob Ede
31115a6287
Add actix-web v3 support ( #228 )
...
* Add actix-web v3 support
* Add actix-web example
* Resolve changelog PR number
* Make sure that examples are built on CI
* Format Cargo.toml consistently
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2020-10-11 17:22:19 +13:00
Chris Wong
b3d16f83b1
Add a version string to the documentation ( #227 )
2020-10-08 11:05:00 +13:00
Chris Wong
b670d85595
Update documentation to account for stable support ( #218 )
...
* Remove `#![feature(proc_macro_hygiene)]` from documentation
Closes #217
* Update comment about nightly vs stable
2020-10-08 11:02:19 +13:00
Chris Wong
ca2ba2d13c
Only deploy documentation when a release is tagged ( #226 )
...
I would expect that most people reading the docs are using the crates.io
version, not trunk.
2020-10-08 11:01:42 +13:00
Chris Wong
6c387e8126
Test --all-features
separately ( #225 )
2020-10-06 20:42:24 +13:00
Chris Wong
c139b7b719
Ensure that trybuild tests are actually run
...
PR #223 removed the `unstable` flag, but the trybuild tests still
depended on it 🤦
2020-10-06 18:14:47 +11:00
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 #224
2020-10-06 12:39:52 +11:00
Chris Wong
109c59bf62
Fix Travis CI warnings ( #224 )
2020-10-06 13:27:15 +13:00
Chris Wong
49f3c46bd2
Avoid unstable specialization with this one weird trick! ( #223 )
...
Rustaceans hate him!
2020-10-05 22:44:27 +13:00
Chris Wong
165cfd5fe0
Update benchmarks and documentation dependencies ( #221 )
...
* 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 ( #220 )
...
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 🎉 ( #219 )
...
Infer whether nightly features are available using rustc_version. If this fails, assume stable.
Closes #214
2020-09-28 11:06:44 +10:00
Chris Wong
d66c2d66fd
Remove #![feature(proc_macro_hygiene)]
( #216 )
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 #212 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 #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