[badges.maintenance]
status = "actively-developed"
[dependencies.libm]
default-features = false
optional = true
version = "0.2"
[dev-dependencies.rstest]
default-features = false
version = "0.23"
[features]
aabb = []
default = ["std", "aabb"]
libm = ["dep:libm"]
std = []
[lib]
name = "collision2d"
path = "src/lib.rs"
[lints.clippy]
exhaustive_enums = "warn"
exhaustive_structs = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
private_bounds = "warn"
private_interfaces = "warn"
unsafe_code = "deny"
[package]
authors = ["Jonathan Cornaz"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std", "game-development"]
description = "A simple 2d collision detection library "
edition = "2021"
keywords = ["no_std", "gamedev", "collision", "2d", "geometry"]
license = "Unlicense"
name = "collision2d"
readme = "README.md"
repository = "https://github.com/jcornaz/collision2d"
rust-version = "1.60"
version = "0.2.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "aabb_collision_spec"
path = "tests/aabb_collision_spec.rs"