NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4118 most downloaded on crates.io
Madsim's proc-macro.
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
12 releases · first in 2021
One column per quarter.
madsim: No longer initialize the global logger on #[main] or #[test].
#[main] or #[test].Instant interception on ARM64 macOS caused by change in Rust nightly.madsim: Forbid creating system thread in simulation.
Endpoint clonable.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.TODO ### Added - A real world backend.
TODO
Remove default time limit (300s) on test.
time::timeout.Basic simulated network and file system.
Your coding agent can read these notes before it upgrades. Set up the MCP server →