{"repo":"frostly/rust-slack","free":true,"listed":false,"github":"https://github.com/frostly/rust-slack","clone":"git clone https://github.com/frostly/rust-slack.git","description":"A rust crate for sending messages to Slack via webhooks","language":"Rust","stars":169,"topics":["rust","slack","webhook"],"license":null,"category":"chat-messaging","readme_excerpt":"[!IMPORTANT] Moved to codeberg :wave: slack-hook A rust crate for sending messages to Slack via webhooks. Slack is a messaging platform for team collaboration. Upgrading? See the CHANGELOG. Features - blocking : Provides a synchronous \"blocking\" slack client - default-tls (enabled by default) : Provides TLS support to connect over HTTPS - native-tls : Enables TLS functionality provided by native-tls - rustls-tls : Enables TLS functionality provided by rustls Usage Simply run this to add it to your Cargo.toml : and then start sending messages! Attachments To create a payload with just an attachment: Text with Links Slack messaging API permits you to send links within text. However, given the different formatting rules, these text fragments need to be specified as follows: Sending this payload will display the following in slack (note: each element of the Vec has been space-separated): &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hello Google, nice to know you. This technique can be used for any function that has the Into trait bound. License This library is distributed under similar terms to Rust: dual licensed under the MIT license and the Apache license (version 2.0). See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/frostly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/frostly/rust-slack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}