Commit Graph

163 Commits

Author SHA1 Message Date
Sergio Benitez bebdaabb58 New version: 0.3.8. 2018-04-07 14:12:29 -07:00
Sergio Benitez 53061f2a65 Update codegen for 2018-04-06 nightly. 2018-04-07 14:11:13 -07:00
Sergio Benitez 56e24bd57f New version: 0.3.7. 2018-04-03 21:12:43 -07:00
Sergio Benitez 3ee9dd661a Remove stabilized feature gates.
These are:

  * i128_type
  * conservative_impl_trait
  * never_type
2018-04-03 20:55:31 -07:00
Sergio Benitez 2257a3b6d8 Update codegen for 2018-04-03 nightly. 2018-04-03 20:55:31 -07:00
Songbird0 ae83e06565 Replace 'above' with 'below' in route parse error message. 2018-04-03 20:55:31 -07:00
Sergio Benitez defb0e2942 Fix 'unknown-media-type' compile-fail test. 2018-03-22 13:31:33 -05:00
Sergio Benitez f061c8ba9e Update yansi and pear dependencies. 2018-02-25 19:50:21 -08:00
Sergio Benitez 58f5988ec4 Fix compiletest linker flags for release builds. 2018-01-13 10:58:10 -08:00
Sergio Benitez 174f85e2b9 New version: 0.3.6. 2018-01-12 19:34:16 -08:00
Sergio Benitez 43398d694b Update 'compiletest' to 0.3.5. 2018-01-03 02:47:48 -08:00
Sergio Benitez d300facff6 Update codegen for 2017-12-22 nightly.
This works around #513 by patching 'ring' globally using the new
'[patch]' Cargo section.
2017-12-30 16:29:11 -08:00
Sergio Benitez 240b226152 Pin 'compiletest_rs' to compatible versions. 2017-12-27 00:40:18 -08:00
Sergio Benitez 4519de7860 New version: 0.3.5. 2017-12-18 06:59:44 -08:00
Sergio Benitez 4f2ab0d2d2 Update codegen and pear_codegen for 2017-12-17 nightly. 2017-12-18 06:57:04 -08:00
Sergio Benitez cfcfd2d65f New version: 0.3.4. 2017-12-14 19:17:04 +07:00
Sergio Benitez b744a58ce0 Use correct rustdoc 'html_root_url'.
Fixes #474.
2017-12-14 18:45:23 +07:00
Sergio Benitez f056ac3e20 Bump codegen nightly requirement to 2017-12-13. 2017-12-14 18:22:08 +07:00
Sergio Benitez 94c7a1997e Update codegen for 2017-12-11 nightly. 2017-12-14 15:28:48 +07:00
Sergio Benitez fa65835ed1 Update 'compiletest_rs' dependency. 2017-12-14 15:28:48 +07:00
Sergio Benitez 028a00becc New version: 0.3.3. 2017-09-25 21:00:08 -07:00
Sergio Benitez 9f4daf4474 Update codegen for 2017-09-25 nightly. 2017-09-25 20:32:43 -07:00
Sergio Benitez a1193ba454 Improve missing argument compile-time error. 2017-09-25 20:32:43 -07:00
Sergio Benitez 5dabb00f2d New version: 0.3.2. 2017-08-15 12:00:02 -07:00
Sergio Benitez ff8e4c73a8 Remove lints and associated code from 'rocket_codegen'.
Rust's linting API is incredibly unstable, resulting in unnecessary
breakage to `rocket_codegen`. Rocket's lints are also not as
conservative as would be desired, resulting in spurious warnings. For
these reasons, this commit removes linting from `rocket_codegen`.

These lints will likely be reintroduced as part of a 'rocket_lints'
crate. Factoring the lints out to a separate crate means that lint
breakage can be dealt with by uncommenting the dependency instead of
waiting for a new release or backtracking nightlies. In the same vein,
it will likely improve stability of the 'rocket_codegen' crate.
2017-08-15 11:44:50 -07:00
Sergio Benitez 8ee2fafdef New version: 0.3.1. 2017-08-11 10:19:56 -07:00
Sergio Benitez 721f6204ea Update lints for latest nightly, '2017-08-10'. 2017-08-11 09:14:54 -07:00
Sergio Benitez 86c7a67b02 Allow named parameters to be ignored. 2017-08-02 18:44:31 -07:00
Sergio Benitez 0b7d9f4602 Remove unused doc comments. 2017-08-02 17:48:00 -07:00
Sergio Benitez 95452af449 Improve form field name error message. 2017-08-02 17:41:10 -07:00
Sergio Benitez 952c98fc04 Allow the full range of valid form field renames.
Closes #337.
2017-08-02 17:37:20 -07:00
Sergio Benitez 72bed509b9 Handle 'TypeRelative' qualified paths in lints.
Fixes #367.
2017-08-02 02:40:37 -07:00
Alex Burka 02794db2cd Allow unreachable patterns in generated matches. 2017-07-27 00:09:54 -04:00
Sergio Benitez cdacda0896 New version: 0.3.0. 2017-07-14 11:30:48 -07:00
Sergio Benitez 0bbfa5e21a Update 'version_check' to 0.1.3. 2017-07-12 04:15:30 -07:00
Sergio Benitez ed14f59c44 Add documentation for the 'FromForm' derive. 2017-07-10 03:41:45 -07:00
Sergio Benitez 7e0cbe4842 Restrict compilation to rustc >= 2017-07-09. 2017-07-09 22:34:29 -07:00
Sergio Benitez 6050eb5169 Update for 2017-07-09. 'associated_consts' is stable. 2017-07-09 22:00:01 -07:00
Sergio Benitez 9dd83a9c39 Use 'eprintln' instead of custom 'printerr'. 2017-07-03 02:59:47 -07:00
Sergio Benitez 3f87b16d75 Update minimum nightly to '2017-06-19'. 2017-06-19 22:58:31 -07:00
Sergio Benitez 539a7fc55b Remove 'struct_field_attributes' feature: it's been stabilized. 2017-06-19 17:44:01 -07:00
Sergio Benitez 6a7fde6d70 Initial cleanup of 'http' docs. Add 'handler::Outcome' docs.
This commit also changes the signature of the 'ContentType'
'from_extension" method so that it returns an 'Option<ContentType>' as
opposed to 'ContentType'.

This commit also disallows negative quality values in 'Accept' media
types.
2017-06-19 17:32:33 -07:00
Sergio Benitez cdf9ff9bde Remove 'LoggingLevel' from root. Add ConfigError::Io.
This tentatively completes the 'config' rustdocs.
2017-06-18 21:06:41 -07:00
Sergio Benitez 43a4028085 Use a less confusing version number during dev. 2017-06-18 02:25:26 -07:00
Sergio Benitez a3ea9d0f9a Add support for lenient forms via 'LenientForm'.
This commit changes the 'FromForm' trait in two ways:

  1. The singular method is now named 'from_form'.
  2. The method takes a second parameter: 'strict: bool'.

The 'strict' parameter is used to specify whether form parsing should
be strict or not (i.e. lenient). When parsing is lenient, extra form
fields do not result in an error. This lenient behavior is used by a
new 'LenientForm' data guard type to request lenient form parsing. The
behavior for 'Form' remains unchanged.

Resolves #242.
2017-06-18 01:59:22 -07:00
Sergio Benitez 504a7fe583 Update to yansi 0.3 for proper Debug formatting.
This commit also improves the format of TOML parsing error messages.

Fixes #310.
2017-06-06 13:56:13 -07:00
Sergio Benitez fa31b6ae42 Support the 'dev' channel during build.
Resolves #306.
2017-06-02 17:41:15 -07:00
Sergio Benitez a6c4d053ad Switch to 'yansi' for all terminal coloring.
Resolves #299.
2017-06-01 22:10:05 -07:00
Sergio Benitez 73fed03ef4 New version: 0.2.8. 2017-06-01 22:10:05 -07:00
Sergio Benitez 614297eb9b Update codegen lints for latest nightly. 2017-06-01 22:10:05 -07:00