slack-blocks
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.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.