[package]
edition = "2021"
rust-version = "1.94.0"
name = "rustsim"
version = "0.0.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance agent-based modelling engine - top-level orchestration crate"
readme = false
keywords = [
"abm",
"agent-based",
"simulation",
"cuda",
"clickhouse",
]
categories = [
"science",
"simulation",
]
license = "MIT"
repository = "https://github.com/rustsim/rustsim"
[features]
clickhouse-gzip = ["rustsim-io/gzip"]
clickhouse-spill = ["rustsim-io/spill"]
cuda = [
"cudarc",
"rustsim-crowd/cuda",
]
default = ["cuda"]
rayon = ["dep:rayon"]
[lib]
name = "rustsim"
path = "src/lib.rs"
[[example]]
name = "basic_particle"
path = "examples/basic_particle.rs"
[[example]]
name = "crowd_corridor"
path = "examples/crowd_corridor.rs"
[[example]]
name = "crowd_station"
path = "examples/crowd_station.rs"
[[example]]
name = "crowd_telemetry_demo"
path = "examples/crowd_telemetry_demo.rs"
[[example]]
name = "cuda_particle"
path = "examples/cuda_particle.rs"
[[example]]
name = "event_queue"
path = "examples/event_queue.rs"
[[example]]
name = "headless_telemetry"
path = "examples/headless_telemetry.rs"
[[example]]
name = "multimodal_commute"
path = "examples/multimodal_commute.rs"
[[example]]
name = "schelling"
path = "examples/schelling.rs"
[[example]]
name = "social_force"
path = "examples/social_force.rs"
[[test]]
name = "avoidance_integration_test"
path = "tests/avoidance_integration_test.rs"
[[test]]
name = "columnar_runtime_tests"
path = "tests/columnar_runtime_tests.rs"
[[test]]
name = "control_plane_tests"
path = "tests/control_plane_tests.rs"
[[test]]
name = "corridor_simulation"
path = "tests/corridor_simulation.rs"
[[test]]
name = "cuda_fallback_tests"
path = "tests/cuda_fallback_tests.rs"
[[test]]
name = "determinism_tests"
path = "tests/determinism_tests.rs"
[[test]]
name = "external_consumer_test"
path = "tests/external_consumer_test.rs"
[[test]]
name = "gpu_accel_test"
path = "tests/gpu_accel_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "observability_tests"
path = "tests/observability_tests.rs"
[[test]]
name = "soak_scale_tests"
path = "tests/soak_scale_tests.rs"
[[bench]]
name = "cpu_scaling_bench"
path = "benches/cpu_scaling_bench.rs"
harness = false
[[bench]]
name = "end_to_end_bench"
path = "benches/end_to_end_bench.rs"
harness = false
[dependencies.arrow-schema]
version = "58"
[dependencies.cudarc]
version = "0.19"
features = [
"cuda-version-from-build-system",
"fallback-latest",
]
optional = true
[dependencies.rayon]
version = "1"
optional = true
[dependencies.rustsim-broadphase]
version = "0.0.1"
[dependencies.rustsim-core]
version = "0.0.1"
[dependencies.rustsim-crowd]
version = "0.0.1"
[dependencies.rustsim-geometry]
version = "0.0.1"
[dependencies.rustsim-io]
version = "0.0.1"
[dependencies.rustsim-mobility]
version = "0.0.1"
[dependencies.rustsim-modes]
version = "0.0.1"
[dependencies.rustsim-pathfinding]
version = "0.0.1"
[dependencies.rustsim-schedulers]
version = "0.0.1"
[dependencies.rustsim-spaces]
version = "0.0.1"
[dependencies.rustsim-traffic]
version = "0.0.1"
[dependencies.rustsim-transit]
version = "0.0.1"
[dependencies.rustsim-vehicle]
version = "0.0.1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.arrow-array]
version = "58"
[dev-dependencies.arrow-schema]
version = "58"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8"