Skip to content

Commit 61562f5

Browse files
committed
Add path rewriting support
1 parent ed354a9 commit 61562f5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
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.2"
4+
version = "0.9.0-alpha.3"
55
authors = ["[email protected]",
66
"Alex Crichton <[email protected]>"]
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.2"
13+
conduit = "0.9.0-alpha.3"
1414

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

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ mod tests {
134134
fn path(&self) -> &str {
135135
&self.path
136136
}
137+
fn path_mut(&mut self) -> &mut String {
138+
&mut self.path
139+
}
137140
fn query_string(&self) -> Option<&str> {
138141
unimplemented!()
139142
}

0 commit comments

Comments
 (0)