Rocket/core/codegen/tests
Sergio Benitez d7f6d82fe4 Implement 'FromForm[Value]', 'Responder' proc-macro derives.
This completes the migration of custom derives to proc-macros, removing
the need for the `custom_derive` feature in consumer code. This commit
also includes documentation, unit tests, and compile UI tests for each
of the derives.

Additionally, this commit improves the existing `FromForm` and
`FromFormValue` derives. The generated code for `FromForm` now returns
an error value indicating the error condition. The `FromFormValue`
derive now accepts a `form` attribute on variants for specifying the
exact value string to match against.

Closes #590.
Closes #670.
2018-08-06 19:58:07 -07:00
..
compile-fail Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00
ui Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00
compiletest.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
complete-decorator.rs Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00
custom-content-type.rs Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00
dynamic-paths.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
empty-fn.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
error-handler.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
instanced-mounting.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
issue-1-colliding-names.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
methods.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
rank_decorator.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
refactored_rocket_no_lint_errors.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
segments.rs Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00
type-alias-lints.rs Reorganize repository. 2018-06-03 18:44:38 +02:00
typed-uris.rs Implement 'FromForm[Value]', 'Responder' proc-macro derives. 2018-08-06 19:58:07 -07:00