[package]
edition = "2021"
name = "multibody_dynamics"
version = "0.4.2"
authors = ["Erlend Basso <erlendbasso@gmail.com>"]
build = false
exclude = [
"docs/**",
".DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multibody dynamics algorithms in Rust"
homepage = "https://github.com/erlendbasso/multibody_dynamics"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/erlendbasso/multibody_dynamics"
[lib]
name = "multibody_dynamics"
path = "src/lib.rs"
[[test]]
name = "degenerate_zero_mass"
path = "tests/degenerate_zero_mass.rs"
[[test]]
name = "forward_dynamics_consistency"
path = "tests/forward_dynamics_consistency.rs"
[[test]]
name = "input_validation"
path = "tests/input_validation.rs"
[[test]]
name = "integration_helpers"
path = "tests/integration_helpers.rs"
[[test]]
name = "jacobian_consistency"
path = "tests/jacobian_consistency.rs"
[[test]]
name = "jacobian_derivative_zero_velocity"
path = "tests/jacobian_derivative_zero_velocity.rs"
[[test]]
name = "mass_matrix"
path = "tests/mass_matrix.rs"
[[test]]
name = "multibody_core"
path = "tests/multibody_core.rs"
[[test]]
name = "prismatic_chain"
path = "tests/prismatic_chain.rs"
[[test]]
name = "randomized_small_chain"
path = "tests/randomized_small_chain.rs"
[[test]]
name = "single_sixdof_mass_matrix"
path = "tests/single_sixdof_mass_matrix.rs"
[[bench]]
name = "core_benches"
path = "benches/core_benches.rs"
harness = false
[[bench]]
name = "forward_dynamics_alloc"
path = "benches/forward_dynamics_alloc.rs"
harness = false
[dependencies.approx]
version = "0.5"
[dependencies.nalgebra]
version = "0.34"
features = [
"libm",
"alloc",
]
default-features = false
[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[profile.bench]
debug = 2
inherits = "release"
[profile.dev]
opt-level = 2
debug = 2
debug-assertions = true
overflow-checks = true
incremental = true
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
strip = "symbols"