box2d-rust 1.3.0

Pure Rust port of the Box2D v3 2D physics engine
Documentation
[workspace]

members = [".", "demo/wasm"]



[package]

name = "box2d-rust"

version = "1.3.0"

edition = "2021"

rust-version = "1.77"

authors = ["Lars Brubaker <larsbrubaker@matterhackers.com>"]

description = "Pure Rust port of the Box2D v3 2D physics engine"

license = "MIT"

repository = "https://github.com/larsbrubaker/box2d-rust"

homepage = "https://larsbrubaker.github.io/box2d-rust/"

documentation = "https://docs.rs/box2d-rust/"

readme = "README.md"

keywords = ["physics", "box2d", "2d", "simulation", "gamedev"]

categories = ["simulation", "game-development", "algorithms"]

exclude = [

    "box2d-cpp-reference/",

    "demo/",

    "docs/",

    "Tests/",

    ".github/",

    ".claude/",

    "benches/",

    "scripts/",

    "CLAUDE.md",

    "readme_hero.jpg",

    "run_demo.cmd",

]



[lib]

name = "box2d_rust"

path = "src/lib.rs"



[features]

# Mirrors BOX2D_DOUBLE_PRECISION: double precision world positions for large worlds.

double-precision = []



[dependencies]



[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]

web-time = "1"



[dev-dependencies]



[profile.release]

lto = "fat"

codegen-units = 1