summaryrefslogtreecommitdiff
path: root/src/rust/protover
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/protover')
-rw-r--r--src/rust/protover/lib.rs2
-rw-r--r--src/rust/protover/protover.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rust/protover/lib.rs b/src/rust/protover/lib.rs
index a9e8e1ee64..05687c1fbf 100644
--- a/src/rust/protover/lib.rs
+++ b/src/rust/protover/lib.rs
@@ -26,6 +26,8 @@ extern crate libc;
extern crate smartlist;
extern crate external;
extern crate tor_allocate;
+
+#[macro_use]
extern crate tor_log;
mod protover;
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs
index bb2b8f056a..33d49ea485 100644
--- a/src/rust/protover/protover.rs
+++ b/src/rust/protover/protover.rs
@@ -6,7 +6,7 @@ use std::fmt;
use std::collections::{HashMap, HashSet};
use std::string::String;
-use tor_log::*;
+use tor_log::{LogSeverity, LogDomain};
use external::c_tor_version_as_new_as;
/// The first version of Tor that included "proto" entries in its descriptors.