moonpool-sim 0.8.0

Simulation engine for the moonpool framework
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 = "2024"
name = "moonpool-sim"
version = "0.8.0"
authors = ["Pierre Zemb <contact@pierrezemb.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simulation engine for the moonpool framework"
documentation = "https://docs.rs/moonpool-sim"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/PierreZ/moonpool"
resolver = "2"

[features]
default = [
    "tokio-providers",
    "exploration",
]
exploration = ["dep:moonpool-explorer"]
tokio-providers = ["moonpool-core/tokio-providers"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-task]
version = "4.7"

[dependencies.async-trait]
version = "0.1"

[dependencies.crc32c]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.moonpool-assertions]
version = "0.8.0"

[dependencies.moonpool-core]
version = "0.8.0"
features = ["deterministic-select"]
default-features = false

[dependencies.moonpool-explorer]
version = "0.8.0"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.10"
default-features = false

[dependencies.rand_chacha]
version = "0.10"
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "http1",
    "server",
    "client",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "tracing",
]

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
async_fn_in_trait = "allow"