[workspace]
members = [".", "demo/wasm"]
[package]
name = "box3d-rust"
version = "0.2.1"
edition = "2021"
rust-version = "1.77"
authors = ["Lars Brubaker <larsbrubaker@matterhackers.com>"]
description = "Pure Rust port of the Box3D 3D physics engine"
license = "MIT"
repository = "https://github.com/larsbrubaker/box3d-rust"
homepage = "https://larsbrubaker.github.io/box3d-rust/"
documentation = "https://docs.rs/box3d-rust/"
readme = "README.md"
keywords = ["physics", "box3d", "3d", "simulation", "gamedev"]
categories = ["simulation", "game-development", "algorithms"]
autobenches = false
exclude = [
"box3d-cpp-reference/",
"demo/",
"docs/",
"Tests/",
".github/",
".claude/",
"benches/",
"scripts/",
"CLAUDE.md",
"readme_hero.jpg",
"run_demo.cmd",
"run_demo.sh",
"task-12.md",
"todo.md",
]
[lib]
name = "box3d_rust"
path = "src/lib.rs"
[features]
double-precision = []
[dependencies]
[dev-dependencies]
criterion = "0.5"
[[bench]]
name = "large_pyramid"
harness = false
[[bench]]
name = "joint_grid"
harness = false
[[bench]]
name = "many_pyramids"
harness = false
[[bench]]
name = "junkyard"
harness = false
[workspace.lints.clippy]
needless_range_loop = "allow"
int_plus_one = "allow"
excessive_precision = "allow"
approx_constant = "allow"
too_many_arguments = "allow"
manual_range_contains = "allow"
field_reassign_with_default = "allow"
needless_late_init = "allow"
if_same_then_else = "allow"
collapsible_if = "allow"
assertions_on_constants = "allow"
reserve_after_initialization = "allow"
unnecessary_unwrap = "allow"
mem_replace_with_default = "allow"
len_zero = "allow"
[lints]
workspace = true
[profile.release]
lto = "fat"
codegen-units = 1