From 38bc0eaa77ce9c62bb42e7ecc566eb8030dadc68 Mon Sep 17 00:00:00 2001 From: Arun Kulshreshtha Date: Mon, 14 Aug 2017 20:30:14 -0700 Subject: [PATCH] Update rust-crates-io in tp2 to include boxfnonce crate Summary: The `boxfnonce` crate is a workaround for the lack of `FnBox` in stable Rust. Without it, it isn't possible to call a `Box`. Reviewed By: jsgf Differential Revision: D5626687 fbshipit-source-id: 01ab37b98add5dae10f3c4834c2a330593639ab6 --- server/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index 190e3643fd..4a1745e5e0 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -21,7 +21,7 @@ extern crate error_chain; #[macro_use] extern crate slog; extern crate slog_term; -extern crate kvfilter; +extern crate slog_kvfilter; #[macro_use] extern crate maplit; @@ -55,7 +55,7 @@ use futures::sync::mpsc; use clap::{App, Arg}; use slog::{Drain, Level, LevelFilter, Logger}; -use kvfilter::KVFilter; +use slog_kvfilter::KVFilter; use bytes::Bytes; use hgproto::sshproto::{HgSshCommandDecode, HgSshCommandEncode};