api2/node/dns.rs: implement resolv.conf parser

This commit is contained in:
Dietmar Maurer committed 2019-01-24 14:59:40 +01:00
1 parent 784252dbc5
commit 8f973f8181
4 files changed
+92 -10

No files matched your search

+2 -1
View File
@@ -1,7 +1,6 @@
//! Tools and utilities
//!
//! This is a collection of small and useful tools.
use failure::*;
use nix::unistd;
use nix::sys::stat;
@@ -22,6 +21,8 @@ use serde_json::Value;
pub mod timer;
pub mod wrapped_reader_stream;
#[macro_use]
pub mod common_regex;
/// The `BufferedReader` trait provides a single function
/// `buffered_read`. It returns a reference to an internal buffer. The