client-api: Consistently use outer attributes for cfg-conditional modules
This commit is contained in:
parent
aa5fdf9d22
commit
b3af33f1fc
@ -3,6 +3,7 @@
|
|||||||
pub mod account;
|
pub mod account;
|
||||||
pub mod alias;
|
pub mod alias;
|
||||||
pub mod appservice;
|
pub mod appservice;
|
||||||
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
pub mod backup;
|
pub mod backup;
|
||||||
pub mod capabilities;
|
pub mod capabilities;
|
||||||
pub mod config;
|
pub mod config;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
//! Endpoints for server-side key backups.
|
//! Endpoints for server-side key backups.
|
||||||
#![cfg(feature = "unstable-pre-spec")]
|
|
||||||
|
|
||||||
pub mod add_backup_key_session;
|
pub mod add_backup_key_session;
|
||||||
pub mod add_backup_key_sessions;
|
pub mod add_backup_key_sessions;
|
||||||
|
@ -6,4 +6,5 @@ pub mod login_fallback;
|
|||||||
pub mod logout;
|
pub mod logout;
|
||||||
pub mod logout_all;
|
pub mod logout_all;
|
||||||
pub mod sso_login;
|
pub mod sso_login;
|
||||||
|
#[cfg(feature = "unstable-pre-spec")]
|
||||||
pub mod sso_login_with_provider;
|
pub mod sso_login_with_provider;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//! [GET /_matrix/client/r0/login/sso/redirect/{idp_id}](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md)
|
//! [GET /_matrix/client/r0/login/sso/redirect/{idp_id}](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md)
|
||||||
//!
|
//!
|
||||||
//! This uses the unstable prefix in [MSC2858](https://github.com/matrix-org/matrix-doc/pull/2858).
|
//! This uses the unstable prefix in [MSC2858](https://github.com/matrix-org/matrix-doc/pull/2858).
|
||||||
#![cfg(feature = "unstable-pre-spec")]
|
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user