diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index 53fba637..2d09586e 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -27,6 +27,7 @@ push-gateway-api = ["ruma-api", "ruma-push-gateway-api"] [dependencies] ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers", features = ["serde"] } +ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events", optional = true } ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true } diff --git a/ruma/src/lib.rs b/ruma/src/lib.rs index fdcc0b4e..aca89a5f 100644 --- a/ruma/src/lib.rs +++ b/ruma/src/lib.rs @@ -16,6 +16,8 @@ pub use ruma_common::*; #[doc(inline)] pub use ruma_identifiers as identifiers; +#[doc(inline)] +pub use ruma_serde as serde; pub use ruma_identifiers::{ device_id, device_key_id, event_id, room_alias_id, room_id, room_version_id, server_key_id,