1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
//! An implementation of the dnstap protocol
//!
//! This crate implements the sender part of the [dnstap](http://dnstap.info/) protocol,
//! a flexible, structured binary log format for DNS software.

mod context;
mod dns_message;
mod dnstap_builder;
mod dnstap_pb;
mod dnstap_writer;

pub use crate::dnstap_pb::Message_Type as MessageType;
pub use crate::dnstap_pb::SocketFamily;
pub use crate::dnstap_pb::SocketProtocol;

pub use crate::dns_message::*;
pub use crate::dnstap_builder::*;
pub use crate::dnstap_writer::{DNSTapPendingWriter, DNSTapWriter, Sender};