discord-rpc-client/src/lib.rs

30 lines
520 B
Rust
Raw Normal View History

2018-03-22 15:15:47 -04:00
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
2018-03-24 10:15:48 -04:00
extern crate byteorder;
extern crate uuid;
extern crate libc;
#[cfg(windows)]
extern crate named_pipe;
2018-03-22 13:12:41 -04:00
#[macro_use]
mod macros;
2018-03-29 16:57:00 -04:00
mod error;
2018-03-25 14:55:38 -04:00
mod utils;
mod connection;
2018-03-22 15:54:18 -04:00
mod models;
mod rich_presence;
2018-03-22 13:12:41 -04:00
pub mod client;
pub use client::Client;
#[cfg(feature = "rich_presence")]
pub use rich_presence::*;
#[cfg(unix)]
pub use connection::UnixConnection;
2018-04-02 17:42:57 -04:00
#[cfg(windows)]
pub use connection::WindowsConnection;