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
//! # `axis`

#![forbid(unsafe_code)]
//#![forbid(missing_docs)]
#![forbid(unused_variables)]

mod device;
mod error;
mod transport;

pub mod v3;
pub mod v4;

pub use device::Device;
pub use error::Error;
pub(crate) use error::ResultExt;
pub use transport::Transport;

#[cfg(all(feature = "hyper"))]
pub mod hyper;

#[cfg(all(feature = "hyper"))]
pub use self::hyper::HyperTransport;

// Test support:
#[cfg(test)]
pub(crate) mod test_utils;

#[cfg(test)]
pub(crate) use test_utils::*;