madsim-rs / madsim

Magical Deterministic Simulator for distributed systems in Rust.
Apache License 2.0
648 stars 46 forks source link

fix(tokio): no longer need to add madsim dependency #35

Closed wangrunji0408 closed 2 years ago

wangrunji0408 commented 2 years ago

Currently using #[tokio::main] still needs an explicit import of the madsim crate. This PR fixes this issue.