[package]
edition = "2021"
rust-version = "1.94.0"
name = "rustsim-crowd"
version = "0.0.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Microscopic crowd and pedestrian locomotion for rustsim: 2-D and layered 3-D, with Social Force, Collision-Free Speed, Generalized Centrifugal Force, Optimal Steps, and Anticipation Velocity models"
readme = false
keywords = [
"pedestrian",
"crowd",
"social-force",
"simulation",
"abm",
]
categories = [
"science",
"simulation",
]
license = "MIT"
repository = "https://github.com/rustsim/rustsim"
[features]
cuda = ["dep:cudarc"]
default = []
full-validation = []
rayon = ["dep:rayon"]
simd = ["dep:wide"]
[lib]
name = "rustsim_crowd"
path = "src/lib.rs"
[[test]]
name = "cfl_validation"
path = "tests/cfl_validation.rs"
[[test]]
name = "cuda_anticipation_velocity"
path = "tests/cuda_anticipation_velocity.rs"
[[test]]
name = "cuda_collision_free_speed"
path = "tests/cuda_collision_free_speed.rs"
[[test]]
name = "cuda_generalized_centrifugal_force"
path = "tests/cuda_generalized_centrifugal_force.rs"
[[test]]
name = "cuda_optimal_steps"
path = "tests/cuda_optimal_steps.rs"
[[test]]
name = "cuda_soak_scale"
path = "tests/cuda_soak_scale.rs"
[[test]]
name = "cuda_social_force"
path = "tests/cuda_social_force.rs"
[[test]]
name = "fundamental_diagram"
path = "tests/fundamental_diagram.rs"
[[test]]
name = "rayon_bit_exact"
path = "tests/rayon_bit_exact.rs"
[[test]]
name = "simd_tolerance"
path = "tests/simd_tolerance.rs"
[[test]]
name = "soak_scale"
path = "tests/soak_scale.rs"
[[test]]
name = "validate"
path = "tests/validate.rs"
[[test]]
name = "weidmann_calibration"
path = "tests/weidmann_calibration.rs"
[[bench]]
name = "crowd_large_scale_bench"
path = "benches/crowd_large_scale_bench.rs"
harness = false
[[bench]]
name = "crowd_scaling_bench"
path = "benches/crowd_scaling_bench.rs"
harness = false
[dependencies.cudarc]
version = "0.19"
features = [
"cuda-version-from-build-system",
"fallback-latest",
]
optional = true
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.rustsim-broadphase]
version = "0.0.1"
[dependencies.rustsim-core]
version = "0.0.1"
[dependencies.rustsim-geometry]
version = "0.0.1"
[dependencies.thiserror]
version = "2"
[dependencies.wide]
version = "0.7"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8"