ruma: Reexport identifier types from the crate root

This commit is contained in:
Jonas Platte 2020-07-26 16:16:30 +02:00
parent 2e0a765820
commit 5ca2fd78a8
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -18,6 +18,11 @@ pub use ruma_common::*;
pub use ruma_identifiers as identifiers; pub use ruma_identifiers as identifiers;
pub use ruma_identifiers_macros::*; pub use ruma_identifiers_macros::*;
pub use ruma_identifiers::{
DeviceId, DeviceKeyAlgorithm, DeviceKeyId, EventId, RoomAliasId, RoomId, RoomIdOrAliasId,
RoomVersionId, ServerKeyAlgorithm, ServerKeyId, ServerName, UserId,
};
#[cfg(feature = "ruma-events")] #[cfg(feature = "ruma-events")]
#[doc(inline)] #[doc(inline)]
pub use ruma_events as events; pub use ruma_events as events;