remove slog macro_use

This commit is contained in:
Rob Ede 2020-09-29 00:01:14 +01:00
parent d12b314bf4
commit 9a1bee0eba
No known key found for this signature in database
GPG key ID: C2A3B36E841A91E6
4 changed files with 17 additions and 4 deletions

12
Cargo.lock generated
View file

@ -243,6 +243,17 @@ dependencies = [
"lazy_static 1.4.0",
]
[[package]]
name = "derive_more"
version = "0.99.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1dcfabdab475c16a93d669dddfc393027803e347d09663f524447f642fbb84ba"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "digest"
version = "0.8.1"
@ -1247,6 +1258,7 @@ version = "0.1.0"
dependencies = [
"badge",
"cadence",
"derive_more",
"failure",
"futures",
"hyper 0.11.27",

View file

@ -14,6 +14,7 @@ members = [
badge = { path = "./libs/badge" }
cadence = "0.13"
derive_more = "0.99"
failure = "0.1"
futures = "0.1"
hyper = "0.11"
@ -27,8 +28,8 @@ route-recognizer = "0.1"
rustsec = "0.6.0"
semver = { version = "0.11", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.9"
shared_failure = "0.1.0"
serde_json = "1"
shared_failure = "0.1"
slog = "2"
slog-json = "2"
tokio-core = "0.1"

View file

@ -3,8 +3,6 @@
#[macro_use]
extern crate failure;
#[macro_use]
extern crate slog;
#[macro_use]
extern crate try_future;
use std::env;
@ -17,6 +15,7 @@ use hyper::server::Http;
use hyper::Client;
use hyper_tls::HttpsConnector;
use slog::Drain;
use slog::{info, o};
use tokio_core::reactor::Core;
mod engine;

View file

@ -8,6 +8,7 @@ use once_cell::sync::Lazy;
use route_recognizer::{Params, Router};
use semver::VersionReq;
use slog::Logger;
use slog::{error, o};
use tokio_service::Service;
mod assets;