CadenceMCP ← All Tracked SDKs

tokio-rs Deprecations & Breaking Changes

Verified AST deprecations and code replacement rules for tokio-rs.

⚡ Free Example Preview (1 of 1): tokio::select_priv! → tokio::select!

Deprecated in v1.0.0

Internal select macro internals removed in Tokio v1.0. Use standard tokio::select! macro.

❌ Outdated Syntax
tokio::select_priv! { val = rx.recv() => println!("{:?}", val) }
✅ Modern Replacement Syntax
tokio::select! { val = rx.recv() => println!("{:?}", val) }
View Official Migration Docs →