tokio-knowledge-patch
OfficialUpdate Tokio code for latest API and behavior
AuthorNevaberry
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Models and older guidance often recommend outdated Tokio patterns and deprecated APIs that cause compilation failures or subtle runtime bugs; this patch summarizes verified changes, deprecations, and new patterns introduced in Tokio 1.46–1.50 and tokio-util 0.7.16–0.7.18 to prevent incorrect implementations.
Core Features & Use Cases
- Provides concise migration guidance for task management (biased join, JoinSet::extend, JoinMap, JoinQueue) and synchronization (SetOnce, OwnedNotified, CancellationToken adapters).
- Documents runtime and networking updates including cooperative scheduling, runtime-shutdown detection, and set_zero_linger replacements for deprecated linger usage.
- Use cases include auditing existing Rust/Tokio code for deprecated APIs, updating new feature usage when writing concurrent task code, and guiding code generation to avoid model-cutoff mistakes.
Quick Start
Apply the tokio-knowledge-patch to review my Rust project and update Tokio usages to match the APIs and migrations described for Tokio 1.46–1.50 and tokio-util 0.7.16–0.7.18.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tokio-knowledge-patch Download link: https://github.com/Nevaberry/nevaberry-plugins/archive/main.zip#tokio-knowledge-patch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.