1#![warn(missing_docs)]
6#![warn(rust_2018_idioms)]
7
8pub mod sys {
11 #![allow(non_upper_case_globals)]
12 #![allow(non_camel_case_types)]
13 #![allow(non_snake_case)]
14 #![allow(dead_code)]
15 #![allow(missing_docs)]
16 include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
17}
18
19mod convert;
20mod error;
21mod frame;
22mod provider;
23mod types;
24mod utils;
25
26pub use convert::Convert;
28pub use error::{CcapError, Result};
29pub use frame::*;
30pub use provider::Provider;
31pub use types::*;
32pub use utils::{LogLevel, Utils};
33
34pub fn version() -> Result<String> {
36 Provider::version()
37}