elevator-core 5.5.1

Engine-agnostic elevator simulation library with pluggable dispatch strategies
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"
rust-version = "1.88"
name = "elevator-core"
version = "5.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine-agnostic elevator simulation library with pluggable dispatch strategies"
readme = "README.md"
keywords = [
    "elevator",
    "dispatch",
    "simulation",
    "ecs",
    "building",
]
categories = [
    "game-engines",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/andymai/elevator-core"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["traffic"]
energy = []
traffic = ["dep:rand"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ordered-float]
version = "5"
features = ["serde"]

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.ron]
version = "0.12"

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

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

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

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

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

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

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "warn"
missing_docs_in_private_items = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "deny"
panic = "warn"
unwrap_used = "warn"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"