Update Rust crate rocket_dyn_templates to 0.1.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
rocket_dyn_templates (source) | dependencies | patch |
0.1.0-rc.3 -> 0.1.0
|
Release Notes
SergioBenitez/Rocket (rocket_dyn_templates)
v0.1.0
This is the first public release of Rocket!
Breaking
All of the mentions to hyper
types in core Rocket types are no more. Rocket
now implements its own Request
and Response
types.
-
ContentType
uses associated constants instead of static methods. -
StatusCode
removed in favor of newStatus
type. -
Response
type alias superseded byResponse
type. -
Responder::respond
no longer takes in hyper type. -
Responder::respond
returnsResponse
, takesself
by move. -
Handler
returnsOutcome
instead ofResponse
type alias. -
ErrorHandler
returnsResult
. - All
Hyper*
types were moved to unprefixed versions inhyper::
. -
MockRequest::dispatch
now returns aResponse
type. -
URIBuf
removed in favor of unifiedURI
. - Rocket panics when an illegal, dynamic mount point is used.
Core
- Rocket handles
HEAD
requests automatically. - New
Response
andResponseBuilder
types. - New
Request
,Header
,Status
, andContentType
types.
Testing
-
MockRequest
allows any type of header. -
MockRequest
allows cookies.
Codegen
- Debug output disabled by default.
- The
ROCKET_CODEGEN_DEBUG
environment variables enables codegen logging.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.