Code
How tokio-rs/tokio is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new async file operation
- Add a public export and doctest example in tokio/src/fs/mod.rs
Add a new I/O utility extension method
- Add trait method to the appropriate ext trait (AsyncReadExt, AsyncWriteExt) in tokio/src/io/util/
Add support for a new event notification backend
- Create platform-specific module (e.g., tokio/src/io/epoll.rs or extend tokio/src/io/uring/mod.rs) with syscall bindings
- Implement readiness polling logic compatible with poll_evented and AsyncFd abstractions
- Conditionally enable via feature flag in tokio/Cargo.toml and add cfg guards in lib.rs
Add platform-specific I/O operation (uring example)
- Expose through tokio/src/io/uring/mod.rs and wire into tokio/src/io/mod.rs with feature gate
Change the public API
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.