client-api: Rename discover module to discovery

Align with federation-api
This commit is contained in:
Kévin Commaille 2022-03-13 09:45:02 +01:00
parent 1ab97ddbe5
commit fbe07e8636
No known key found for this signature in database
GPG Key ID: DD507DAE96E8245C
6 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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]

View File

@ -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};