Skip to content

Commit 1230adb

Browse files
committed
Bump to 0.7.1
1 parent af6f4b5 commit 1230adb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

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

33
name = "conduit-middleware"
4-
version = "0.7.0"
4+
version = "0.7.1"
55
authors = ["[email protected]",
66
"Alex Crichton <[email protected]>"]
77
description = "HTTP Middleware interface using the conduit interface"

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![feature(core)]
2-
#![cfg_attr(test, feature(io, net))]
2+
#![cfg_attr(test, feature(io))]
33

44
extern crate conduit;
55

@@ -94,7 +94,7 @@ mod tests {
9494
use std::error::Error;
9595
use std::io::{self, Cursor};
9696
use std::io::prelude::*;
97-
use std::net::IpAddr;
97+
use std::net::SocketAddr;
9898

9999
use conduit;
100100
use conduit::{Request, Response, Host, Headers, Method, Scheme, Extensions};
@@ -127,7 +127,7 @@ mod tests {
127127
self.path.as_slice()
128128
}
129129
fn query_string<'a>(&'a self) -> Option<&'a str> { unimplemented!() }
130-
fn remote_ip(&self) -> IpAddr { unimplemented!() }
130+
fn remote_addr(&self) -> SocketAddr { unimplemented!() }
131131
fn content_length(&self) -> Option<u64> { unimplemented!() }
132132
fn headers<'a>(&'a self) -> &'a Headers { unimplemented!() }
133133
fn body<'a>(&'a mut self) -> &'a mut Read { unimplemented!() }

0 commit comments

Comments
 (0)