mattermost-client
This crate is an attempt to provde a sane Rust interface to the Mattermost API.
```rust use mattermost_client::Client;
let client = Client::new("https://
client .posts() .createpost() .channelid("#welcome") .props(serdejson::json!({ "name": "Example", })) .message("Hello world!") .build() .send(&client) .await .intodiagnostic()?; ```
Add this in your Cargo.toml
:
toml
[dependencies]
mattermost-client = "0.1"