mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-07 09:12:09 +00:00
This commit includes the following important API changes: * The `form` route parameter has been removed. * The `data` route parameter has been added. * Forms are not handled via the `data` parameter and `Form` type. * Removed the `data` parameter from `Request`. * Added `FromData` conversion trate and default implementation. * Added `DataOutcome` enum, which is the return type of `from_data`. * 'FromData' is now used to automatically derive the `data` parameter. * Moved `form` into `request` module. * Removed `Failure::new` in favor of direct value construction. This commit includes the following important package additions: * Added a 'raw_upload' example. * `manual_routes` example uses `Data` parameter. * Now building and running tests with `--all-features` flag. * All exmaples have been updated to latest API. * Now using upstream Tera. This commit includes the following important fixes: * Any valid ident is now allowed in single-parameter route parameters. * Lifetimes are now properly stripped in code generation. * `FromForm` derive now works on empty structs.
31 lines
688 B
TOML
31 lines
688 B
TOML
[workspace]
|
|
members = [
|
|
"lib/",
|
|
"codegen/",
|
|
"contrib/",
|
|
"examples/cookies",
|
|
"examples/errors",
|
|
"examples/extended_validation",
|
|
"examples/forms",
|
|
"examples/hello_person",
|
|
"examples/query_params",
|
|
"examples/hello_world",
|
|
"examples/manual_routes",
|
|
"examples/optional_redirect",
|
|
"examples/optional_result",
|
|
"examples/redirect",
|
|
"examples/static_files",
|
|
"examples/todo",
|
|
"examples/content_types",
|
|
"examples/hello_ranks",
|
|
"examples/testing",
|
|
"examples/from_request",
|
|
"examples/stream",
|
|
"examples/json",
|
|
"examples/handlebars_templates",
|
|
"examples/form_kitchen_sink",
|
|
"examples/config",
|
|
"examples/hello_alt_methods",
|
|
"examples/raw_upload",
|
|
]
|