From 0a64dbfe8bfbb78ad6b72a9fbd81a84abe7e88c7 Mon Sep 17 00:00:00 2001 From: Haitao Li Date: Mon, 22 Dec 2014 01:54:51 +1100 Subject: [PATCH] Bump rust-crypto to v0.2.2 --- Makefile | 2 +- deps/rust-crypto | 2 +- src/hashsum/hashsum.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8cf7542f8..e2b6ff48f 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ $(BUILDDIR)/uutils: $(SRCDIR)/uutils/uutils.rs $(BUILDDIR)/mkuutils $(RLIB_PATHS # Dependencies -include $(BUILDDIR)/rust-crypto.d $(BUILDDIR)/.rust-crypto: $(BUILDDIR)/.rust-time | $(BUILDDIR) - $(RUSTC) $(RUSTCFLAGS) --extern time=$(BUILDDIR)/libtime.rlib --crate-type rlib --dep-info $(BUILDDIR)/rust-crypto.d $(BASEDIR)/deps/rust-crypto/src/rust-crypto/lib.rs --out-dir $(BUILDDIR)/ + $(RUSTC) $(RUSTCFLAGS) --extern time=$(BUILDDIR)/libtime.rlib --crate-type rlib --crate-name crypto --dep-info $(BUILDDIR)/rust-crypto.d $(BASEDIR)/deps/rust-crypto/src/rust-crypto/lib.rs --out-dir $(BUILDDIR)/ @touch $@ $(BUILDDIR)/.rust-time: diff --git a/deps/rust-crypto b/deps/rust-crypto index b463ff97f..baa0874a7 160000 --- a/deps/rust-crypto +++ b/deps/rust-crypto @@ -1 +1 @@ -Subproject commit b463ff97f78ea06ce9bcf0f1fafe63e5966f2499 +Subproject commit baa0874a75fcb76eeb6a7e430f02aaaf4e4b2701 diff --git a/src/hashsum/hashsum.rs b/src/hashsum/hashsum.rs index fb6582039..f0a6b739e 100644 --- a/src/hashsum/hashsum.rs +++ b/src/hashsum/hashsum.rs @@ -15,7 +15,7 @@ extern crate regex; -extern crate "rust-crypto" as crypto; +extern crate crypto; extern crate getopts; use std::io::fs::File;