impetus 1.3.0

Physics engine — 2D/3D rigid body simulation, collision detection, constraints, and spatial queries for AGNOS
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "impetus"
version = "1.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Physics engine — 2D/3D rigid body simulation, collision detection, constraints, and spatial queries for AGNOS"
homepage = "https://github.com/MacCracken/impetus"
readme = "README.md"
keywords = [
    "physics",
    "simulation",
    "collision",
    "rigid-body",
    "game",
]
categories = [
    "simulation",
    "game-engines",
]
license = "GPL-3.0-only"
repository = "https://github.com/MacCracken/impetus"

[features]
2d = ["dep:hisab"]
3d = ["dep:hisab"]
default = ["2d"]
full = [
    "2d",
    "3d",
    "serialize",
]
serialize = ["dep:bitcode"]

[lib]
name = "impetus"
path = "src/lib.rs"

[[example]]
name = "basic_physics"
path = "examples/basic_physics.rs"

[[example]]
name = "platformer"
path = "examples/platformer.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[bench]]
name = "simulation"
path = "benches/simulation.rs"
harness = false

[dependencies.bitcode]
version = "0.6"
features = ["serde"]
optional = true

[dependencies.hisab]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"