matrix-rust-sdk/src/lib.rs

19 lines
489 B
Rust
Raw Normal View History

//! Crate `nio-client` is a [Matrix](https://matrix.org/) client library.
2019-10-20 11:56:46 +00:00
//!
#![warn(missing_docs)]
2019-10-20 11:56:46 +00:00
pub use crate::{error::Error, session::Session};
pub use ruma_client_api as api;
pub use ruma_events as events;
pub use reqwest::header::InvalidHeaderValue;
2019-10-20 11:56:46 +00:00
mod async_client;
mod base_client;
2019-10-20 11:56:46 +00:00
mod error;
mod session;
pub use async_client::{AsyncClient, AsyncClientConfig, SyncSettings};
pub use base_client::{Client, Room};
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");