Crate glitch_in_the_matrix [] [src]

Glitch in the Matrix is a set of (minimal) Matrix bindings for Rust. It has a number of limitations at present, and is not recommended for production use. Still, it is provided in the hope that it might be useful.

This crate re-exports a subcrate, gm-types, which contains most of the API types used for deserialization - mostly to reduce compile times.

See the examples/ subdirectory for a simple echo client example.

Licensed under CC0.

Reexports

pub extern crate gm_types as types;

Modules

errors

Error handling, using error_chain.

http

Types reexported from hyper.

request

Type for making a generic request to the Matrix API.

room

Abstractions for Matrix rooms.

sync

Utilities for using the long-polling /sync API.

Structs

MatrixClient

A connection to a Matrix homeserver.

Type Definitions

MatrixFuture

A Future with a MatrixError error type. Returned by most library functions.