From ad71bedee279228f3a55c8d6c19ed0e500f47080 Mon Sep 17 00:00:00 2001 From: Robert Czechowski Date: Fri, 14 Sep 2018 22:45:42 +0200 Subject: [PATCH] Include readme.md in crate documentation --- src/lib.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b743916..c01002b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,14 +1,4 @@ -//! A module for writing Matrix bots -//! -//! This module maps some parts of the Matrix client-server protocoll to rust -//! objects. -//! In order to communicate with the Matrix homeserver, this library needs an -//! authentication token (`access_token`). -//! This authentication token can either be given directly, or can be generated -//! using username-password authentication, if the homeserver supports this. -//! With this authentication token, rooms can be joined or created. -//! After as room has been joined, messages can be sent to the room and new -//! messages can be fetched from from the room. +#[doc(include = "readme.md")] #[macro_use] extern crate serde_derive;