tp2: update rust-crates-io

Summary:
Fix crate names for where the crate name doesn't match the package
name. This affected a few crates, but in practice only rust-crypto/crypto was
used.

Reviewed By: Imxset21

Differential Revision: D9002131

fbshipit-source-id: d9591e4b6da9a00029054785b319a6584958f043
This commit is contained in:
Jeremy Fitzhardinge 2018-07-25 15:39:05 -07:00 committed by Facebook Github Bot
parent db22476659
commit 03640e680e

View File

@ -3,14 +3,11 @@
//! and file data) //! and file data)
extern crate byteorder; extern crate byteorder;
#[cfg(not(fbcode_build))]
extern crate crypto; extern crate crypto;
#[macro_use] #[macro_use]
extern crate failure; extern crate failure;
extern crate lz4_pyframe; extern crate lz4_pyframe;
extern crate memmap; extern crate memmap;
#[cfg(fbcode_build)]
extern crate rust_crypto as crypto;
extern crate tempfile; extern crate tempfile;
#[cfg(test)] #[cfg(test)]