Cargo tests and formatting security audit

Slack Morphism for Rust

Slack Morphism is a modern client library for Slack Web/Events API/Socket Mode and Block Kit.

Documentation

Please follow to the official website: https://slack-rust.abdolence.dev.

Examples

https://github.com/abdolence/slack-morphism-rust/tree/master/examples

The examples require to work the following environment variables (from your Slack bot profile in api.slack.com):

To run example use with environment variables: ```

SLACK_... cargo run --example

```

Routes for this example are available on http://:8080:

Testing with ngrok

For development/testing purposes you can use ngrok: ngrok http 8080 and copy the URL it gives for you to the example parameters for SLACK_REDIRECT_HOST.

Example testing with ngrok: SLACK_CLIENT_ID=<your-client-id> \ SLACK_CLIENT_SECRET=<your-client-secret> \ SLACK_BOT_SCOPE=app_mentions:read,incoming-webhook \ SLACK_REDIRECT_HOST=https://<your-ngrok-url>.ngrok.io \ SLACK_SIGNING_SECRET=<your-signing-secret> \ cargo run --example events_api_server

Licence

Apache Software License (ASL)

Author

Abdulla Abdurakhmanov