madsim 0.2.34

Deterministic Simulator for distributed systems.
Documentation
[[bench]]
harness = false
name = "rpc"
path = "benches/rpc.rs"

[dependencies.bincode]
optional = true
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3"

[dependencies.lazy_static]
version = "1.4"

[dependencies.madsim-macros]
optional = true
version = "0.2"

[dependencies.rand]
version = "0.8"

[dependencies.serde]
features = ["derive"]
version = "1"

[dependencies.spin]
version = "0.9.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.getrandom]
version = "=0.2.13"

[dev-dependencies.hostname]
version = "0.4.1"

[dev-dependencies.structopt]
version = "0.3"

[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "io-util"]
version = "1"

[[example]]
name = "erpc"
path = "examples/erpc.rs"
required-features = ["erpc"]

[[example]]
name = "rpc"
path = "examples/rpc.rs"

[features]
default = ["macros", "rpc"]
macros = ["madsim-macros", "tokio/macros"]
rpc = ["bincode"]
ucx = ["async-ucx"]

[lib]
name = "madsim"
path = "src/lib.rs"

[lints.clippy]
result_large_err = "allow"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(madsim)", "cfg(tokio_unstable)"]
level = "warn"
priority = 0

[package]
authors = ["Runji Wang <wangrunji0408@163.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "simulation"]
description = "Deterministic Simulator for distributed systems."
edition = "2021"
homepage = "https://github.com/madsim-rs/madsim"
keywords = ["distributed-systems", "async", "deterministic", "simulation"]
license = "Apache-2.0"
name = "madsim"
readme = "README.md"
repository = "https://github.com/madsim-rs/madsim"
version = "0.2.34"

[package.metadata.docs.rs]
rustc-args = ["--cfg", "madsim"]
rustdoc-args = ["--cfg", "madsim", "--cfg", "docsrs"]

[target."cfg(madsim)".dependencies.ahash]
version = "0.8"

[target."cfg(madsim)".dependencies.async-channel]
version = "2"

[target."cfg(madsim)".dependencies.async-stream]
version = "0.3"

[target."cfg(madsim)".dependencies.async-task]
version = "4.4"

[target."cfg(madsim)".dependencies.downcast-rs]
version = "1.2"

[target."cfg(madsim)".dependencies.errno]
version = "0.3"

[target."cfg(madsim)".dependencies.libc]
version = "0.2"

[target."cfg(madsim)".dependencies.naive-timer]
version = "0.2"

[target."cfg(madsim)".dependencies.panic-message]
version = "0.3"

[target."cfg(madsim)".dependencies.rand_xoshiro]
version = "0.6"

[target."cfg(madsim)".dependencies.rustversion]
version = "1"

[target."cfg(madsim)".dependencies.tokio]
features = ["rt", "sync"]
version = "1"

[target."cfg(madsim)".dependencies.toml]
version = "0.9"

[target."cfg(not(madsim))".dependencies.async-ucx]
features = ["event"]
optional = true
version = "0.1"

[target."cfg(not(madsim))".dependencies.tokio]
features = ["rt", "fs", "net", "time", "io-util", "sync", "signal"]
version = "1"

[target."cfg(not(madsim))".dependencies.tokio-util]
features = ["codec"]
version = "0.7"