net: fix build with only process (#1575)

This commit is contained in:
Carl Lerche
2019-09-19 12:38:15 -07:00
committed by GitHub
parent 815173f8e5
commit 8d09f61d33
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -23,6 +23,7 @@ categories = ["asynchronous", "network-programming"]
[features]
async-traits = []
process = [
"tokio-io/util",
"crossbeam-queue",
"libc",
"mio-named-pipes",
+3 -3
View File
@@ -25,7 +25,7 @@ macro_rules! trace {
#[cfg(not(feature = "tracing"))]
macro_rules! trace {
($($arg:tt)+) => {};
($($arg:tt)+) => {{}};
}
#[cfg(feature = "tracing")]
@@ -37,7 +37,7 @@ macro_rules! debug {
#[cfg(not(feature = "tracing"))]
macro_rules! debug {
($($arg:tt)+) => {};
($($arg:tt)+) => {{}};
}
#[cfg(feature = "tracing")]
@@ -49,7 +49,7 @@ macro_rules! error {
#[cfg(not(feature = "tracing"))]
macro_rules! error {
($($arg:tt)+) => {};
($($arg:tt)+) => {{}};
}
#[cfg(feature = "tracing")]