api2/node/dns.rs: implement resolv.conf parser
This commit is contained in:
1 parent
784252dbc5
commit
8f973f8181
4 files changed
+92
-10
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user