1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#![feature(attr_literals, nll)]
#![deny(missing_docs)]
extern crate futures;
extern crate tokio;
extern crate tokio_codec;
extern crate tokio_core;
extern crate bytes;
extern crate nt_packet;
#[macro_use]
extern crate nt_packet_derive;
extern crate failure;
#[macro_use]
extern crate log;
extern crate nt_leb128 as leb128;
#[macro_use]
extern crate derive_new;
#[doc(hidden)]
pub const NT_PROTOCOL_REV: u16 = 0x0300;
mod proto;
mod nt;
pub type Result<T> = std::result::Result<T, failure::Error>;
pub use self::proto::types::{EntryData, EntryValue, EntryType};
pub use self::nt::*;