matrix-rust-sdk is an implementation of a Matrix client-server library in Rust.
NOTE: This is the no IO client state machine, you're probably interested in the main rust-sdk crate.