NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4019 most downloaded on crates.io
The `tokio` simulator on madsim.
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
20 releases · first in 2022
One column per quarter.
Remove Handle::spawn and Handle::spawn_blocking as the implementation is incorrect.
Handle::spawn and Handle::spawn_blocking as the implementation is incorrect.Implement Debug for Handle and AbortHandle.
Debug for Handle and AbortHandle.MADSIM_ALLOW_SYSTEM_THREAD is set, executor won't panic when no task is ready.Fix the problem that Handle::spawn spawns the task in a new node.
Handle::spawn spawns the task in a new node.### Added - Add Runtime::handle().
Runtime::handle().Add a fake runtime::Handle. Note that this is a re-export of madsim::Handle. Tasks spawned with this handle are not correctly associated with the toki
runtime::Handle. Note that this is a re-export of madsim::task::Handle. Tasks spawned with this handle are not correctly associated with the tokio runtime.Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
lookup_host receives an invalid address.Signed-off-by: Runji Wang wangrunji0408@163.com
Signed-off-by: Runji Wang wangrunji0408@163.com
AbortHandle.RuntimeMetrics.Runtime.madsim: Add JoinHandle::{id, is_finished}.
buggify.JoinHandle::{id, is_finished}.signal::ctrl_c and Handle::send_ctrl_c.Handle::is_exit.tokio: Add task::Builder::new_current_thread but panic inside.
task::Builder::new_current_thread but panic inside.service module and Extensions.content-type and date field.madsim: Change the default seed to the nanosecond of current time.
Runtime.madsim: Deprecate spawn_blocking.
task::Builder API.TaskNodeHandle to Spawner.spawn_blocking.madsim-tonic: Add missing methods of Endpoint and Server.
Endpoint and Server.#[tokio::main] no longer requires madsim crate.collections module since we can use std's directly.madsim: Allow user to set the number of CPU cores and simulate std::available_parallelism.
std::thread::available_parallelism.MADSIM_TEST_JOBS environment variable to set the number of jobs to run simultaneously.Builder.Handle::seed.0.0.0.0.Runtime::{enable_determinism_check, take_rand_log}. Replaced by check_determinism.Make deterministic on rand and std::{collections::{HashMap, HashSet}, time::{SystemTime, Instant}}.
Make deterministic on rand and std::{collections::{HashMap, HashSet}, time::{SystemTime, Instant}}.
Exception: rand is not deterministic on linux. use madsim::rand instead.
Migrate a new crate madsim-tokio-postgres for simulation.
madsim-tokio-postgres for simulation.task_local, task::LocalKey, signal::ctrl_c.Request::remote_addr and returning error from server.madsim-tokio: Add task::consume_budget and task::Id.
task::consume_budget and task::Id.full feature.madsim: Add serde API to HashMap.
HashMap.getrandom.#[cfg(feature = "sim")] -> #[cfg(madsim)].Add a new crate madsim-tokio for tokio simulation.
madsim-tokio for tokio simulation.time::interval and task::yield_now.Sleep, Elapsed, JoinError and JoinHandle.Server::layer but don't implement it.JoinHandle to tokio style which won't cancel task on drop.Your coding agent can read these notes before it upgrades. Set up the MCP server →