v0.36.0
What's Changed
- Tokio/client API state lock improvements by @abdolence in #113
Migration notice
To work efficiently and in async way from Tokio/Futures user state management API was affected in this release so you need to update your callback functions:
- Removed Arc<> from signatures
- user_states_storage: Arc<SlackClientEventsUserState>,
+ user_state_storage: SlackClientEventsUserState,- Use await function to read/write instead of blocking in user state management code:
- let states = user_states_storage.read().unwrap();
+ let states = user_state_storage.read().await;Look at examples and docs for details.
Full Changelog: v0.35.0...v0.36.0