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
//#![deny(missing_docs)]
#![doc(html_root_url = "http://arcnmx.github.io/nvapi-rs/")]

pub extern crate nvapi_sys as sys;
extern crate void;
#[cfg(feature = "serde_derive")]
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate log;
#[cfg(feature = "i2c")]
extern crate i2c;

mod types;
mod pstate;
mod clock;
mod thermal;
mod gpu;
mod info;
#[cfg(feature = "i2c")]
mod i2c_impl;

pub use types::*;
pub use pstate::*;
pub use clock::*;
pub use thermal::*;
pub use gpu::*;
pub use info::*;
#[cfg(feature = "i2c")]
pub use i2c_impl::*;

pub use sys::{Status, Result};