Skip to content

Commit 0254c52

Browse files
committed
Update to rust master
1 parent cefeb3d commit 0254c52

File tree

4 files changed

+82
-94
lines changed

4 files changed

+82
-94
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ git = "https://github.com/conduit-rust/conduit-middleware"
4444
git = "https://github.com/conduit-rust/conduit-cookie"
4545

4646
[dependencies.postgres]
47-
git = "https://github.com/sfackler/rust-postgres"
47+
git = "https://github.com/alexcrichton/rust-postgres"
48+
branch = "git-deps"
4849

4950
[dependencies.html]
5051
path = "src/html"
@@ -83,16 +84,17 @@ git = "https://github.com/rust-lang/semver"
8384
git = "https://github.com/servo/rust-url"
8485

8586
[dependencies.r2d2_postgres]
86-
git = "https://github.com/sfackler/r2d2-postgres"
87+
git = "https://github.com/alexcrichton/r2d2-postgres"
88+
branch = "git-deps"
8789

8890
[dependencies.git2]
8991
git = "https://github.com/alexcrichton/git2-rs"
9092

9193
[dependencies.openssl]
9294
git = "https://github.com/sfackler/rust-openssl"
9395

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

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

src/migrate/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ name = "migrate"
88
path = "lib.rs"
99

1010
[dependencies.postgres]
11-
git = "https://github.com/sfackler/rust-postgres"
11+
git = "https://github.com/alexcrichton/rust-postgres"
12+
branch = "git-deps"

src/util/hasher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ impl<R: Reader> HashingReader<R> {
1111
HashingReader { inner: r, hasher: Hasher::new(SHA256) }
1212
}
1313

14-
pub fn finalize(&self) -> Vec<u8> { self.hasher.finalize() }
14+
pub fn finalize(self) -> Vec<u8> { self.hasher.finalize() }
1515
}
1616

1717
impl<R: Reader> Reader for HashingReader<R> {

0 commit comments

Comments
 (0)