From e5adfe1181d0fa8f32955b396d859407b4e43b82 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 4 May 2020 18:42:15 +0200 Subject: [PATCH] Rename r0::{client_exchange => to_device} --- CHANGELOG.md | 1 + src/r0.rs | 2 +- src/r0/{client_exchange.rs => to_device.rs} | 0 src/r0/{client_exchange => to_device}/send_event_to_device.rs | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename src/r0/{client_exchange.rs => to_device.rs} (100%) rename src/r0/{client_exchange => to_device}/send_event_to_device.rs (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11a754da..4b9fbdc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Breaking changes: * Make `display_name` field of `r0::membership::joined_events::RoomMember` optional * Update `r0::search::search_events` to r0.6.0 * Add `account_data` field to `r0::sync::sync_events` +* Rename `r0::client_exchange` to `r0::to_device` Improvements: diff --git a/src/r0.rs b/src/r0.rs index 3a761cbc..23154ee7 100644 --- a/src/r0.rs +++ b/src/r0.rs @@ -4,7 +4,6 @@ pub mod account; pub mod alias; pub mod appservice; pub mod capabilities; -pub mod client_exchange; pub mod config; pub mod contact; pub mod context; @@ -29,6 +28,7 @@ pub mod state; pub mod sync; pub mod tag; pub mod thirdparty; +pub mod to_device; pub mod typing; pub mod uiaa; pub mod user_directory; diff --git a/src/r0/client_exchange.rs b/src/r0/to_device.rs similarity index 100% rename from src/r0/client_exchange.rs rename to src/r0/to_device.rs diff --git a/src/r0/client_exchange/send_event_to_device.rs b/src/r0/to_device/send_event_to_device.rs similarity index 100% rename from src/r0/client_exchange/send_event_to_device.rs rename to src/r0/to_device/send_event_to_device.rs