# 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-query"
version = "0.6.0"
authors = ["Bunny contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ray-casting and spatial query math solvers for Bunny."
readme = "README.md"
keywords = [
    "bunny",
    "geometry",
    "collision",
    "raycast",
]
categories = [
    "game-development",
    "graphics",
    "mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/flyingrobots/bunny"

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

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

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

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

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

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

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

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

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

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

[lints.clippy]
missing_errors_doc = "deny"
missing_panics_doc = "deny"
multiple_crate_versions = "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
