{"id":25842706,"url":"https://github.com/nsat/slack-bk","last_synced_at":"2026-05-09T23:06:37.961Z","repository":{"id":46125205,"uuid":"339056785","full_name":"nsat/slack-bk","owner":"nsat","description":"A rust crate for Slack's BlockKit API","archived":false,"fork":false,"pushed_at":"2021-11-12T10:29:53.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-13T13:54:30.412Z","etag":null,"topics":["rust","serde","slack"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-02-15T11:32:17.000Z","updated_at":"2021-11-12T10:29:56.000Z","dependencies_parsed_at":"2022-09-26T20:31:57.394Z","dependency_job_id":null,"html_url":"https://github.com/nsat/slack-bk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsat%2Fslack-bk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsat%2Fslack-bk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsat%2Fslack-bk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsat%2Fslack-bk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsat","download_url":"https://codeload.github.com/nsat/slack-bk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101663,"owners_count":19909943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","serde","slack"],"created_at":"2025-03-01T06:25:05.005Z","updated_at":"2026-05-09T23:06:37.918Z","avatar_url":"https://github.com/nsat.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-bk [![Build Status]][actions] [![Docs]][docs.rs] [![Latest Version]][crates.io]\n\n\n[Build Status]: https://img.shields.io/github/workflow/status/nsat/slack-bk/Rust/master\n[actions]: https://github.com/nsat/slack-bk/actions?query=branch%3Amaster\n[Docs]: https://docs.rs/slack-bk/badge.svg\n[docs.rs]: https://docs.rs/slack-bk/\n[Latest Version]: https://img.shields.io/crates/v/slack-bk.svg\n[crates.io]: https://crates.io/crates/slack-bk\n\nRust crate for Slack's BlockKit API\n\nYou'll probably want to reference [Slack's documentation](https://api.slack.com/block-kit) while using this crate.\n\n## Using `slack-bk` with an HTTP client\n\n`slack-bk` does not come with a built in mechanism to talk to slack's API. There are many popular\nHTTP libraries in the rust ecosystem and the user is free to choose their own.\n\n```rust\nuse reqwest::{Client, Error};\nuse slack_bk::surfaces::Message;\n\nasync fn send_to_webhook(webhook: \u0026str, client: \u0026Client, msg: Message) -\u003e Result\u003c(), Error\u003e {\n    client\n        .post(webhook)\n        .json(\u0026msg)\n        .send()\n        .await?\n        .error_for_status()?\n        .map(|_| ())\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsat%2Fslack-bk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsat%2Fslack-bk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsat%2Fslack-bk/lists"}