Commit Graph

19 Commits

Author SHA1 Message Date
Sergio Benitez
425f741b87 Update 'Try' impl, codegen for nightly-2021-05-18.
Minimum nightly is now '2021-05-18'.
2021-05-18 20:59:11 -07:00
Sergio Benitez
2059a626ff Update UI tests for latest nightly. 2021-02-09 17:35:15 -08:00
Sergio Benitez
3970783d06 Fix SSE example, clean-up SSE related code.
Also updates UI tests for latest nightly.
2020-10-29 23:37:43 -07:00
Sergio Benitez
6f5725b83d Update source code idiomacy, clearing warnings. 2020-09-12 03:10:27 -07:00
Sergio Benitez
559e64cc1f Migrate to 'trybuild' for UI tests. 2020-09-12 02:43:49 -07:00
Jeb Rosen
ccb5eb1d4f Update UI tests for latest nightly. 2020-05-29 01:53:06 -07:00
Sergio Benitez
d559f09abc Update UI tests for latest nightly. 2020-03-09 02:08:50 -07:00
Sergio Benitez
60623e8544 Fix UI tests for macOS CI. 2020-02-29 18:44:46 -08:00
Sergio Benitez
7a7cd83783 Use proper span in responder codegen output. 2020-02-27 16:14:23 -08:00
Sergio Benitez
070c5cbcfa Update UI tests for latest nightly. 2020-02-27 15:48:50 -08:00
Sergio Benitez
996694aefb Update UI tests for latest nightly. 2020-02-27 14:41:21 -08:00
Sergio Benitez
368f387c21 Fix tests for latest nightly. 2020-02-09 01:53:09 -08:00
Jeb Rosen
bb0af5423d Update compiler tests for 2019-04-19 nightly. 2019-05-09 09:11:51 -07:00
jeb
afd08ffb20 Update compiler tests for 2018-12-28 nightly. 2018-12-29 09:31:14 -08:00
Sergio Benitez
ca5623c641 Type encoding to fix encoding issues once and for all.
Fixes #849.
2018-12-12 17:38:36 -08:00
Sergio Benitez
d7933dd6fd Implement ignorable 'uri!' expressions.
Closes #840.
2018-12-06 08:43:24 -08:00
Sergio Benitez
b7db74144f Parameterize 'UriDisplay' with 'Path' or 'Query'.
This commit introduces the sealed `UriPart` marker trait as well as the
implementing `Path` and `Query` marker types, allowing for parts of a
URI to be distinguished at the type level. Consequently, `UriDisplay`
has been parameterized with `P: UriPart`, creating `UriDisplay<Path>`
and `UriDisplay<Query>`. The effect of this change is improved type
safely for URI rendering as well as the ability to omit rendering values
in query parts via `Option` and `Result`.

The `UriDisplay` derive was replaced by `UriDisplayQuery` and
`UriDisplayPath` which derive implementations for `UriDisplay<Path>`
and `UriDisplay<Query>`, respectively.

This commit also works around a rustdoc visibility issue by creating a
hidden `http::private` module.

Finally, this commit also removes the now vestigial use of the
`rustc_private` feature in codegen.

Fixes #827.
2018-11-27 10:01:47 -06:00
Sergio Benitez
3798cd3e65 Document and test 'UriDisplay', its derive, and 'Formatter'. 2018-10-25 02:53:04 -07:00
Sergio Benitez
9ef0b731c8 Rename 'codegen_next' to 'codegen'. 2018-10-22 00:01:41 -07:00