#slack #api #sockets #web-api

slackr

Rust library for managing Slack API

3 unstable releases

0.1.1 Oct 18, 2024
0.1.0 Oct 16, 2024
0.0.1 Oct 15, 2024

#919 in Web programming

Download history 398/week @ 2024-10-14 24/week @ 2024-10-21

422 downloads per month

Apache-2.0

21KB
314 lines

This crate is meant to facilitate simple usage of the Slack Sockets and Web API's.

This code may not work correctly. No warranty or guarantee is provided.


lib.rs:

Slackr

Slackr is a library for creating Slack bots in Rust. Slackr aims to provide a simple and intuitive interface for creating bots using both the Slack Web API and Slack's Socket Mode.

Credentials for the Slack Web API and Socket Mode are required to use this library. The API keys should be provided in a .env file in the root of your project.

Note

While the [alias_db] module is included in the library, it is not necessary for basic functionality. It is included as an extension to make referring to users and channels by human-readable names easier.

Dependencies

~29–43MB
~718K SLoC