fabro/crates/arc-slack
Bryan Helmkamp e5354c3028 Simplify arc-slack: use thiserror, remove dead params, extract helpers
- Use thiserror for SlackApiError and ConnectionError (project convention)
- Remove misleading PartialEq/Eq on DispatchAction; use matches!() in tests
- Remove unused _slack_client and _default_channel params from event loop
- Extract check_ok() helper to deduplicate 3 ok-check sites in client.rs
- Make bot_token private on SlackClient; add http() accessor
- Make SlackClient Clone; eliminate duplicate instance in e2e example
- Reuse reqwest::Client in open_socket_url instead of creating a new one
- Filter empty env vars in resolve_credentials; remove redundant is_enabled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 09:24:22 -05:00
..
examples Simplify arc-slack: use thiserror, remove dead params, extract helpers 2026-03-05 09:24:22 -05:00
src Simplify arc-slack: use thiserror, remove dead params, extract helpers 2026-03-05 09:24:22 -05:00
Cargo.toml Simplify arc-slack: use thiserror, remove dead params, extract helpers 2026-03-05 09:24:22 -05:00