Make unversioned, v1 modules public

This commit is contained in:
Jonas Platte 2020-04-22 15:09:28 +02:00
parent ea4ca46cf4
commit df634a2a02
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
3 changed files with 6 additions and 2 deletions

View File

@ -10,8 +10,8 @@ use ruma_identifiers::{EventId, RoomId, UserId};
use serde::{Deserialize, Serialize};
use serde_json::Value as JsonValue;
mod unversioned;
mod v1;
pub mod unversioned;
pub mod v1;
/// A 'persistent data unit' (event) for room versions 3 and beyond.
#[derive(Deserialize, Serialize)]

View File

@ -1 +1,3 @@
//! Endpoints that cannot change with new versions of the Matrix specification.
mod discover_homeserver;

View File

@ -1 +1,3 @@
//! Endpoints for the r0.1.x versions of the federation API specification.
mod get_server_version;