# 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 = "2021"
rust-version = "1.96"
name = "bunny-broadphase"
version = "0.5.0"
authors = ["Bunny contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounding volume hierarchy (BVH) and spatial broadphase acceleration structures for Bunny."
readme = "README.md"
keywords = [
    "bunny",
    "bvh",
    "broadphase",
    "collision",
]
categories = [
    "data-structures",
    "game-development",
    "graphics",
]
license = "Apache-2.0"
repository = "https://github.com/flyingrobots/bunny"

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

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

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

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

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

[dependencies.bunny-geom]
version = "0.5.0"

[dependencies.bunny-linalg]
version = "0.5.0"

[dependencies.bunny-num]
version = "0.5.0"

[dependencies.bunny-query]
version = "0.5.0"

[dev-dependencies.dhat]
version = "0.3.3"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[lints.clippy]
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
warnings = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
