You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: adapt to grammers API changes (Session::Error, fallible refs)
Recent grammers changes introduced an associated Error type on the
Session trait and made several methods fallible:
- SqliteSession::open now returns a SqliteSessionError.
- SenderPool::new requires S::Error: std::error::Error + Send + Sync + 'static.
- peer_ref, sender_ref, and Peer::to_ref now return Result<Option<PeerRef>, Box<dyn Error>>.
- Client::stream_updates and UpdateStream::sync_update_state now return Result.
Update the codebase accordingly and fix the from-env example.
Verified: cargo check --all-targets, cargo test, cargo clippy --all-targets, cargo fmt --check.
0 commit comments