mirror of https://github.com/rwf2/Rocket.git
d7f6d82fe4
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. |
||
---|---|---|
.. | ||
absolute-mount-paths.rs | ||
bad-attribute-form.rs | ||
bad-attribute-param.rs | ||
bad-ident-argument.rs | ||
bad-value-types-in-attribute.rs | ||
decorate-enum.rs | ||
decorate-impl.rs | ||
decorate-struct.rs | ||
decorate-trait.rs | ||
empty-segments.rs | ||
ignored_params.rs | ||
malformed-media-type.rs | ||
phantom-declared-param.rs | ||
unknown-attribute-param.rs | ||
unknown-media-type.rs |