ruma: Re-export ruma_client::Client
This commit is contained in:
parent
00195d7c52
commit
3e0fb2f46d
@ -10,7 +10,7 @@ use ruma::{
|
|||||||
};
|
};
|
||||||
use ruma_api::MatrixVersion;
|
use ruma_api::MatrixVersion;
|
||||||
|
|
||||||
type MatrixClient = ruma_client::Client<ruma_client::http_client::Isahc>;
|
type MatrixClient = ruma::Client<ruma_client::http_client::Isahc>;
|
||||||
|
|
||||||
async fn hello_world(
|
async fn hello_world(
|
||||||
homeserver_url: String,
|
homeserver_url: String,
|
||||||
|
@ -8,7 +8,7 @@ use ruma::{
|
|||||||
use ruma_api::MatrixVersion;
|
use ruma_api::MatrixVersion;
|
||||||
use ruma_identifiers::TransactionId;
|
use ruma_identifiers::TransactionId;
|
||||||
|
|
||||||
type MatrixClient = ruma_client::Client<ruma_client::http_client::HyperNativeTls>;
|
type MatrixClient = ruma::Client<ruma_client::http_client::HyperNativeTls>;
|
||||||
|
|
||||||
async fn hello_world(
|
async fn hello_world(
|
||||||
homeserver_url: String,
|
homeserver_url: String,
|
||||||
|
@ -11,7 +11,7 @@ use ruma::{
|
|||||||
};
|
};
|
||||||
use tokio_stream::StreamExt as _;
|
use tokio_stream::StreamExt as _;
|
||||||
|
|
||||||
type MatrixClient = ruma_client::Client<ruma_client::http_client::HyperNativeTls>;
|
type MatrixClient = ruma::Client<ruma_client::http_client::HyperNativeTls>;
|
||||||
|
|
||||||
async fn log_messages(
|
async fn log_messages(
|
||||||
homeserver_url: String,
|
homeserver_url: String,
|
||||||
|
@ -157,6 +157,8 @@ pub mod api {
|
|||||||
pub use assign::assign;
|
pub use assign::assign;
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
pub use js_int::{int, uint, Int, UInt};
|
pub use js_int::{int, uint, Int, UInt};
|
||||||
|
#[cfg(feature = "client-ext-client-api")]
|
||||||
|
pub use ruma_client::Client;
|
||||||
pub use ruma_common::*;
|
pub use ruma_common::*;
|
||||||
pub use ruma_identifiers::{
|
pub use ruma_identifiers::{
|
||||||
device_id, device_key_id, event_id, matrix_uri, mxc_uri, room_alias_id, room_id,
|
device_id, device_key_id, event_id, matrix_uri, mxc_uri, room_alias_id, room_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user