Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
update and pull in uuid + subprocess
Browse files Browse the repository at this point in the history
Summary:
Finally got an update working by removing the `mysql_async` crate.

Some notes:

* The `mysql_async` crate was responsible in this case: see rust-lang/cargo#4066 (comment) for why.
* tokio/futures deprecated a bunch of stuff. I've filed a TODO for now.
* We finally pulled in error-chain 0.11, which has a bunch of nice improvements.

Reviewed By: kulshrax

Differential Revision: D5798282

fbshipit-source-id: a38a7b17ee0205428e2ea63334722aa408582493
  • Loading branch information
sunshowers authored and facebook-github-bot committed Sep 9, 2017
1 parent af5f649 commit a74542d
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 2 deletions.
2 changes: 2 additions & 0 deletions blobrepo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

#[macro_use]
extern crate error_chain;
Expand Down
2 changes: 2 additions & 0 deletions blobstore/fileblob/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

#[macro_use]
extern crate error_chain;
Expand Down
2 changes: 2 additions & 0 deletions bookmarks/filebookmarks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate bookmarks;

Expand Down
2 changes: 2 additions & 0 deletions bookmarks/membookmarks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate bookmarks;
#[macro_use]
Expand Down
2 changes: 2 additions & 0 deletions bookmarks/stockbookmarks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate ascii;
#[macro_use]
Expand Down
2 changes: 2 additions & 0 deletions eden-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

/// Mononoke endpoint for Eden.
///
Expand Down
5 changes: 4 additions & 1 deletion futures-ext/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#![deny(warnings)]
// Copyright (c) 2004-present, Facebook, Inc.
// All Rights Reserved.
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

#[cfg(test)]
#[macro_use]
extern crate assert_matches;
Expand Down
2 changes: 2 additions & 0 deletions heads/fileheads/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate heads;

Expand Down
2 changes: 2 additions & 0 deletions heads/memheads/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate heads;
#[macro_use]
Expand Down
2 changes: 2 additions & 0 deletions hgproto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
//! protocols, and a Tokio Service framework for them via a trait.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

// Tokio/IO
extern crate bytes;
Expand Down
5 changes: 4 additions & 1 deletion mercurial-bundles/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#![deny(warnings)]
// Copyright (c) 2004-present, Facebook, Inc.
// All Rights Reserved.
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate ascii;
#[macro_use]
#[cfg(test)]
Expand Down
2 changes: 2 additions & 0 deletions mercurial-types/mocks/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate futures;
extern crate mercurial_types;
Expand Down
2 changes: 2 additions & 0 deletions mercurial-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate ascii;
extern crate itertools;
Expand Down
2 changes: 2 additions & 0 deletions mercurial/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

// External dependencies
extern crate flate2;
Expand Down
2 changes: 2 additions & 0 deletions repoinfo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//! for changesets within a repo.
#![deny(warnings)]
#![deny(missing_docs)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate asyncmemo;
extern crate futures;
Expand Down
2 changes: 2 additions & 0 deletions server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// GNU General Public License version 2 or any later version.

#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

extern crate bytes;
#[macro_use]
Expand Down
2 changes: 2 additions & 0 deletions vfs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
// TODO(luk, T20453159) Remove once the library is ready to be used
#![allow(dead_code)]
#![deny(warnings)]
// TODO: (sid0) T21726029 tokio/futures deprecated a bunch of stuff, clean it all up
#![allow(deprecated)]

#[macro_use]
extern crate error_chain;
Expand Down

0 comments on commit a74542d

Please sign in to comment.