mirror of https://github.com/fafhrd91/actix-web
update changelog
This commit is contained in:
parent
c073b567f2
commit
c23a9231a3
|
@ -40,7 +40,7 @@ serde_json = "1"
|
|||
serde_plain = "1"
|
||||
# TODO(MSRV 1.60): replace with dep: prefix
|
||||
tempfile-dep = { package = "tempfile", version = "3.4", optional = true }
|
||||
tokio = { version = "1.24.2", features = ["sync"] }
|
||||
tokio = { version = "1.24.2", features = ["io-util", "sync"] }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-http = "3"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
### Added
|
||||
|
||||
- Add `HttpServer::{bind,listen}_auto_h2c()` method.
|
||||
- Add `HttpServer::{bind, listen}_auto_h2c()` method behind new `http2` crate feature.
|
||||
- Add `Resource::{get, post, etc...}` methods for more concisely adding routes that don't need additional guards.
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -81,7 +81,7 @@ impl ResourceMap {
|
|||
"`pattern` and `nested` mismatch"
|
||||
);
|
||||
// parents absorb references to the named resources of children
|
||||
self.named.extend(new_node.named.clone().into_iter());
|
||||
self.named.extend(new_node.named.clone());
|
||||
self.nodes.as_mut().unwrap().push(new_node);
|
||||
} else {
|
||||
let new_node = Rc::new(ResourceMap {
|
||||
|
|
Loading…
Reference in New Issue