ruma: Re-export ruma-client
This commit is contained in:
parent
db9262fa43
commit
16f3e4911b
@ -23,6 +23,7 @@ ruma-common = { version = "0.5.0", path = "../ruma-common" }
|
||||
ruma-identifiers = { version = "0.19.0", path = "../ruma-identifiers", features = ["serde"] }
|
||||
ruma-serde = { version = "0.3.1", path = "../ruma-serde" }
|
||||
|
||||
ruma-client = { version = "=0.5.0-alpha.2", path = "../ruma-client", optional = true }
|
||||
ruma-events = { version = "=0.22.0-alpha.3", path = "../ruma-events", optional = true }
|
||||
ruma-signatures = { version = "0.7.0", path = "../ruma-signatures", optional = true }
|
||||
|
||||
@ -38,9 +39,12 @@ serde = { version = "1.0.118", features = ["derive"] }
|
||||
|
||||
[features]
|
||||
api = ["ruma-api"]
|
||||
client = ["ruma-client"]
|
||||
events = ["ruma-events"]
|
||||
signatures = ["ruma-signatures"]
|
||||
|
||||
client-ext-client-api = ["client", "ruma-client/client-api"]
|
||||
|
||||
appservice-api-c = ["api", "events", "ruma-appservice-api/client"]
|
||||
appservice-api-s = ["api", "events", "ruma-appservice-api/server"]
|
||||
appservice-api = ["appservice-api-c", "appservice-api-s"]
|
||||
|
@ -84,6 +84,10 @@ pub use ruma_identifiers::{
|
||||
ServerSigningKeyId, Signatures, SigningKeyAlgorithm, UserId,
|
||||
};
|
||||
|
||||
#[cfg(feature = "client")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "client")))]
|
||||
#[doc(inline)]
|
||||
pub use ruma_client as client;
|
||||
#[cfg(feature = "events")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "events")))]
|
||||
#[doc(inline)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user