From a567b9151d140fc8e25601f34961b6b53f0a6828 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 8 Apr 2022 13:29:35 +0200 Subject: [PATCH] ruma: Remove common module (ruma-common export) --- crates/ruma/src/lib.rs | 2 -- examples/hello_world/src/main.rs | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/ruma/src/lib.rs b/crates/ruma/src/lib.rs index 27cc3f48..abe6b314 100644 --- a/crates/ruma/src/lib.rs +++ b/crates/ruma/src/lib.rs @@ -70,8 +70,6 @@ #![warn(missing_docs)] #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] -#[doc(inline)] -pub use ruma_common as common; #[doc(inline)] pub use ruma_common::serde; diff --git a/examples/hello_world/src/main.rs b/examples/hello_world/src/main.rs index 7b606c87..b6add0cc 100644 --- a/examples/hello_world/src/main.rs +++ b/examples/hello_world/src/main.rs @@ -2,9 +2,8 @@ use std::{convert::TryFrom, env, process::exit}; use ruma::{ api::client::{alias::get_alias, membership::join_room_by_id, message::send_message_event}, - common::TransactionId, events::room::message::RoomMessageEventContent, - RoomAliasId, + RoomAliasId, TransactionId, }; type HttpClient = ruma::client::http_client::HyperNativeTls;