client-api: Rename discover module to discovery
Align with federation-api
This commit is contained in:
parent
1ab97ddbe5
commit
fbe07e8636
@ -17,7 +17,7 @@ pub mod config;
|
|||||||
pub mod context;
|
pub mod context;
|
||||||
pub mod device;
|
pub mod device;
|
||||||
pub mod directory;
|
pub mod directory;
|
||||||
pub mod discover;
|
pub mod discovery;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod filter;
|
pub mod filter;
|
||||||
pub mod keys;
|
pub mod keys;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#![cfg(feature = "client")]
|
#![cfg(feature = "client")]
|
||||||
|
|
||||||
use http::HeaderMap;
|
use http::HeaderMap;
|
||||||
use ruma_client_api::discover::discover_homeserver;
|
use ruma_client_api::discovery::discover_homeserver;
|
||||||
use ruma_common::api::{MatrixVersion, OutgoingRequest as _, SendAccessToken};
|
use ruma_common::api::{MatrixVersion, OutgoingRequest as _, SendAccessToken};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
|
|
||||||
use ruma_client_api::discover::get_supported_versions;
|
use ruma_client_api::discovery::get_supported_versions;
|
||||||
use ruma_common::api::{MatrixVersion, SendAccessToken};
|
use ruma_common::api::{MatrixVersion, SendAccessToken};
|
||||||
|
|
||||||
use super::{Client, ClientData};
|
use super::{Client, ClientData};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user