bonked2d 0.0.1

Simple 2D collision engine
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"
name = "bonked2d"
version = "0.0.1"
authors = ["Olivier Schyns <https://github.com/oschijns>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple 2D collision engine"
readme = false
license = "MIT"
repository = "https://github.com/oschijns/bonked"
resolver = "2"

[features]
2d = []
alloc = [
    "parry2d?/alloc",
    "parry2d-f64?/alloc",
]
default = [
    "2d",
    "parry-f32",
    "mask-u32",
    "std",
]
mask-u32 = []
mask-u64 = []
parry-f32 = ["dep:parry2d"]
parry-f64 = ["dep:parry2d-f64"]
simd = [
    "parry2d?/simd-stable",
    "parry2d-f64?/simd-stable",
]
std = [
    "parry2d?/std",
    "parry2d-f64?/std",
    "nalgebra-glm/std",
    "bvh-arena/std",
    "spin/std",
]

[lib]
name = "bonked2d"
path = "src/lib.rs"
required-features = ["2d"]

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

[dependencies.bvh-arena]
version = "1.1"
default-features = false

[dependencies.delegate]
version = "0.13"

[dependencies.nalgebra-glm]
version = "0.19"
default-features = false

[dependencies.parry2d]
version = "0.19"
features = [
    "required-features",
    "alloc",
]
optional = true
default-features = false

[dependencies.parry2d-f64]
version = "0.19"
features = [
    "required-features",
    "alloc",
]
optional = true
default-features = false

[dependencies.spin]
version = "0.10"

[dev-dependencies.macroquad]
version = "0.4"