simu-des 0.1.0

Discrete-event simulation for Rust, inspired by SimPy — single-threaded async executor, resources, and Monte Carlo parallelism.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82"
name = "simu-des"
version = "0.1.0"
authors = ["Christoph Kuhmuench <christoph.kuhmuench@gmail.com>"]
build = false
exclude = [
    "compare/",
    "reviews/",
    ".github/",
    "target/",
    ".claude/",
    "PLAN.md",
    "TESTING.md",
    "CLAUDE.md",
    "PUBLISHING.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Discrete-event simulation for Rust, inspired by SimPy — single-threaded async executor, resources, and Monte Carlo parallelism."
homepage = "https://github.com/chkhm/simu"
readme = "README.md"
keywords = [
    "simulation",
    "discrete-event",
    "des",
    "simpy",
    "monte-carlo",
]
categories = [
    "simulation",
    "science",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/chkhm/simu"

[package.metadata.docs.rs]
all-features = true

[features]
monte-carlo = ["dep:rayon"]

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

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

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

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

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

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

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

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

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

[[test]]
name = "adversarial_scheduling"
path = "tests/adversarial_scheduling.rs"

[[test]]
name = "combinator"
path = "tests/combinator.rs"

[[test]]
name = "container"
path = "tests/container.rs"

[[test]]
name = "dropped_awaitable"
path = "tests/dropped_awaitable.rs"

[[test]]
name = "event"
path = "tests/event.rs"

[[test]]
name = "external_feed"
path = "tests/external_feed.rs"

[[test]]
name = "preemptive_resource"
path = "tests/preemptive_resource.rs"

[[test]]
name = "priority_resource"
path = "tests/priority_resource.rs"

[[test]]
name = "process_handle"
path = "tests/process_handle.rs"

[[test]]
name = "resource"
path = "tests/resource.rs"

[[test]]
name = "same_tick_races"
path = "tests/same_tick_races.rs"

[[test]]
name = "system"
path = "tests/system.rs"

[[test]]
name = "timeout"
path = "tests/timeout.rs"

[[bench]]
name = "simulation"
path = "benches/simulation.rs"
harness = false

[dependencies.rand]
version = "0.9"

[dependencies.rand_distr]
version = "0.5"

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

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