1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! # nt
//!
//! `nt` is an library implementing client and server functionality for the NetworkTables rev. 3 protocol
//!
//! The provided [`NetworkTables`](struct.NetworkTables.html) struct contains methods for querying
//! the state of the connection, accessing, as well as updating and creating entries that will be
//! synced to the server.

extern crate tokio;

pub mod error;
mod nt;
mod proto;

/// Base result type for nt-rs
pub type Result<T> = std::result::Result<T, error::Error>;

pub use self::nt::callback::*;
pub use self::nt::entry::EntryData;
pub use self::nt::NetworkTables;
pub use self::proto::{Client, NTBackend, Server, State};
pub use nt_network::types::*;