Crate slack_blocks[][src]

This crate brings Slack’s terrific Block Kit 🔗 to the Rust ecosystem.

This crate should hopefully come in handy if you need to build some rich functionality, or just want to send some slack messages without having to know Block Kit.

Inside, you’ll find simple models with an API that is thoroughly documented and (hopefully) easy to use.

This is currently being actively developed so watch the repo for a stable v1 release!

Contributing

If you’re interested in contributing, head over to the issues and see what’s left to do to get this crate fully usable and stable - at the time of writing there are a few big-picture things left to do:

  • Implement Block Elements (#61)
  • Implement Composition Objects (#63)
  • Remove the validator crate from the public API (#9)
  • Add a validation crate feature (#8)

And this doesn’t block a v1.0.0, but is definitely something I’m interested in doing for this crate, that will make it a lot nicer to interact with:

  • Add a proc-macro of some kind that allows easy creation of block messages (#??)

This repo follows Conventional Commits in order to fully automate the semver process, but you don’t need to follow this convention since the repo is configured for Squash commits on merge.

Re-exports

pub use compose::text;

Modules

block_elements
blocks
compose