Skip to content

Commit 44f12dc

Browse files
committed
Fix for upstream changes, release 0.9.0-alpha.4
1 parent 61562f5 commit 44f12dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "conduit-middleware"
4-
version = "0.9.0-alpha.3"
4+
version = "0.9.0-alpha.4"
55
authors = ["wycats@gmail.com",
66
"Alex Crichton <alex@alexcrichton.com>"]
77
description = "HTTP Middleware interface using the conduit interface"
@@ -10,7 +10,7 @@ license = "MIT"
1010
edition = "2018"
1111

1212
[dependencies]
13-
conduit = "0.9.0-alpha.3"
13+
conduit = "0.9.0-alpha.5"
1414

1515
[dev-dependencies]
16-
conduit-test = "0.9.0-alpha.3"
16+
conduit-test = "0.9.0-alpha.4"

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,20 @@ mod tests {
9696

9797
use conduit::{
9898
box_error, Body, Extensions, Handler, HeaderMap, Host, Method, RequestExt, Response,
99-
Scheme, StatusCode, TypeMap, Version,
99+
Scheme, StatusCode, Version,
100100
};
101101

102102
struct RequestSentinel {
103103
path: String,
104-
extensions: TypeMap,
104+
extensions: Extensions,
105105
method: Method,
106106
}
107107

108108
impl RequestSentinel {
109109
fn new(method: Method, path: &'static str) -> RequestSentinel {
110110
RequestSentinel {
111111
path: path.to_string(),
112-
extensions: TypeMap::new(),
112+
extensions: Extensions::new(),
113113
method,
114114
}
115115
}

0 commit comments

Comments
 (0)