client-api: Remove ruma-common reexports
This commit is contained in:
parent
f179a5c771
commit
7b742f1b4c
@ -4,6 +4,20 @@ Breaking changes:
|
|||||||
|
|
||||||
* Use `Raw<AnyInitialStateEvent>` over just `AnyInitialStateEvent` in the `initial_state` field
|
* Use `Raw<AnyInitialStateEvent>` over just `AnyInitialStateEvent` in the `initial_state` field
|
||||||
of `r0::room::create_room::Request`
|
of `r0::room::create_room::Request`
|
||||||
|
* Remove
|
||||||
|
|
||||||
|
```rust
|
||||||
|
r0::keys::{
|
||||||
|
CrossSigningKey, CrossSigningKeySignatures, KeyUsage, OneTimeKey, SignedKey,
|
||||||
|
SignedKeySignatures,
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
These are now found in `ruma_common::encryption` (or `ruma::encryption`).
|
||||||
|
* Remove `r0::to_device::DeviceIdOrAllDevices`, now found in `ruma_common::to_device`
|
||||||
|
(or `ruma::to_device`)
|
||||||
|
* Remove `r0::contact::get_contacts::{ThirdPartyIdentifier, ThirdPartyIdentifierInit}`, now found
|
||||||
|
in `ruma_common::thirdparty` (or `ruma::thirdparty`)
|
||||||
|
|
||||||
# 0.10.2
|
# 0.10.2
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//! [GET /_matrix/client/r0/account/3pid](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-account-3pid)
|
//! [GET /_matrix/client/r0/account/3pid](https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-account-3pid)
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
pub use ruma_common::thirdparty::{ThirdPartyIdentifier, ThirdPartyIdentifierInit};
|
use ruma_common::thirdparty::ThirdPartyIdentifier;
|
||||||
|
|
||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata: {
|
metadata: {
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
//! Endpoints for key management
|
//! Endpoints for key management
|
||||||
|
|
||||||
pub use ruma_common::encryption::{
|
|
||||||
CrossSigningKey, CrossSigningKeySignatures, KeyUsage, OneTimeKey, SignedKey,
|
|
||||||
SignedKeySignatures,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub mod claim_keys;
|
pub mod claim_keys;
|
||||||
pub mod get_key_changes;
|
pub mod get_key_changes;
|
||||||
pub mod get_keys;
|
pub mod get_keys;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
//! Endpoints for client devices to exchange information not persisted in room DAG.
|
//! Endpoints for client devices to exchange information not persisted in room DAG.
|
||||||
|
|
||||||
pub use ruma_common::to_device::DeviceIdOrAllDevices;
|
|
||||||
|
|
||||||
pub mod send_event_to_device;
|
pub mod send_event_to_device;
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
|
use ruma_common::to_device::DeviceIdOrAllDevices;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
use ruma_identifiers::UserId;
|
use ruma_identifiers::UserId;
|
||||||
use serde_json::value::RawValue as RawJsonValue;
|
use serde_json::value::RawValue as RawJsonValue;
|
||||||
|
|
||||||
use super::DeviceIdOrAllDevices;
|
|
||||||
|
|
||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: "Send an event to a device or devices.",
|
description: "Send an event to a device or devices.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user