Skip to content

Commit fe39cb9

Browse files
committed
Update to rust master
1 parent 68b01d6 commit fe39cb9

File tree

5 files changed

+73
-52
lines changed

5 files changed

+73
-52
lines changed

Cargo.lock

Lines changed: 67 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ git = "https://github.com/alexcrichton/git2-rs"
9191
[dependencies.openssl]
9292
git = "https://github.com/sfackler/rust-openssl"
9393

94-
[dependencies.time]
95-
git = "https://github.com/rust-lang/time"
94+
[dependencies]
95+
time = "*"
9696

9797
[dev-dependencies.conduit-test]
9898
git = "https://github.com/conduit-rust/conduit-test"

src/bin/server.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
extern crate "cargo-registry" as cargo_registry;
22
extern crate "conduit-middleware" as conduit_middleware;
33
extern crate civet;
4-
extern crate green;
54
extern crate git2;
65

76
use std::os;

src/tests/all.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ fn json<T>(r: &mut conduit::Response) -> T
161161
(k, fixup(v))
162162
}).collect())
163163
}
164-
json::List(list) => {
165-
json::List(list.into_iter().map(fixup).collect())
164+
json::Array(list) => {
165+
json::Array(list.into_iter().map(fixup).collect())
166166
}
167167
j => j,
168168
}

src/util/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ pub fn json_response<'a, T>(t: &T) -> Response
6767
(k, fixup(v))
6868
}).collect())
6969
}
70-
json::List(list) => {
71-
json::List(list.into_iter().map(fixup).collect())
70+
json::Array(list) => {
71+
json::Array(list.into_iter().map(fixup).collect())
7272
}
7373
j => j,
7474
}

0 commit comments

Comments
 (0)