tokio
Installation
SKILL.md
Apply these conventions when working with Tokio in Rust projects.
Cargo.toml
[dependencies]
tokio = { version = "1", features = ["full"] }
# Or pick features: rt, rt-multi-thread, macros, net, io-util, sync, signal, time, fs
# "full" includes everything EXCEPT test-util and tracing
# Streams
tokio-stream = "0.1"
# Framing/codecs
tokio-util = { version = "0.7", features = ["codec"] }
[dev-dependencies]
tokio = { version = "1", features = ["full", "test-util"] }