Clean up lib.rs
This commit is contained in:
parent
ab68029b80
commit
e4cf0fbf1e
@ -102,16 +102,15 @@ use url::Url;
|
|||||||
|
|
||||||
use crate::error::InnerError;
|
use crate::error::InnerError;
|
||||||
|
|
||||||
pub use crate::{error::Error, session::Session};
|
|
||||||
pub use ruma_client_api as api;
|
pub use ruma_client_api as api;
|
||||||
pub use ruma_events as events;
|
pub use ruma_events as events;
|
||||||
pub use ruma_identifiers as identifiers;
|
pub use ruma_identifiers as identifiers;
|
||||||
|
|
||||||
/// Matrix client-server API endpoints.
|
|
||||||
//pub mod api;
|
|
||||||
mod error;
|
mod error;
|
||||||
mod session;
|
mod session;
|
||||||
|
|
||||||
|
pub use self::{error::Error, session::Session};
|
||||||
|
|
||||||
/// A client for the Matrix client-server API.
|
/// A client for the Matrix client-server API.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Client<C>(Arc<ClientData<C>>);
|
pub struct Client<C>(Arc<ClientData<C>>);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user