# 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" name = "parry3d" version = "0.17.4" authors = ["Sébastien Crozet "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "3 dimensional collision detection library in Rust." homepage = "https://parry.rs" documentation = "https://parry.rs/docs" readme = "README.md" keywords = [ "collision", "geometry", "distance", "ray", "convex", ] categories = [ "science", "game-development", "mathematics", "wasm", ] license = "Apache-2.0" repository = "https://github.com/dimforge/parry" [package.metadata.docs.rs] cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "-Zunstable-options", "--generate-link-to-definition", ] [lib] name = "parry3d" path = "src/lib.rs" required-features = ["required-features"] [[example]] name = "aabb3d" path = "examples/aabb3d.rs" doc-scrape-examples = true [[example]] name = "ball3d" path = "examples/ball3d.rs" doc-scrape-examples = true [[example]] name = "bounding_sphere3d" path = "examples/bounding_sphere3d.rs" doc-scrape-examples = true [[example]] name = "capsule" path = "examples/capsule.rs" doc-scrape-examples = true [[example]] name = "cone" path = "examples/cone.rs" doc-scrape-examples = true [[example]] name = "contact_query3d" path = "examples/contact_query3d.rs" doc-scrape-examples = true [[example]] name = "convex3d" path = "examples/convex3d.rs" doc-scrape-examples = true [[example]] name = "convex_hull3d" path = "examples/convex_hull3d.rs" doc-scrape-examples = true [[example]] name = "convex_try_new3d" path = "examples/convex_try_new3d.rs" doc-scrape-examples = true [[example]] name = "cuboid3d" path = "examples/cuboid3d.rs" doc-scrape-examples = true [[example]] name = "cylinder" path = "examples/cylinder.rs" doc-scrape-examples = true [[example]] name = "distance_query3d" path = "examples/distance_query3d.rs" doc-scrape-examples = true [[example]] name = "getting_started" path = "examples/getting_started.rs" doc-scrape-examples = true [[example]] name = "mesh3d" path = "examples/mesh3d.rs" doc-scrape-examples = true [[example]] name = "plane3d" path = "examples/plane3d.rs" doc-scrape-examples = true [[example]] name = "plane_intersection" path = "examples/plane_intersection.rs" [[example]] name = "polyline3d" path = "examples/polyline3d.rs" doc-scrape-examples = true [[example]] name = "proximity_query3d" path = "examples/proximity_query3d.rs" doc-scrape-examples = true [[example]] name = "solid_point_query3d" path = "examples/solid_point_query3d.rs" doc-scrape-examples = true [[example]] name = "solid_ray_cast3d" path = "examples/solid_ray_cast3d.rs" doc-scrape-examples = true [[example]] name = "time_of_impact_query3d" path = "examples/time_of_impact_query3d.rs" doc-scrape-examples = true [dependencies.approx] version = "0.5" default-features = false [dependencies.arrayvec] version = "0.7" default-features = false [dependencies.bitflags] version = "2.3" [dependencies.bytemuck] version = "1" features = ["derive"] optional = true [dependencies.cust_core] version = "0.1" optional = true [dependencies.downcast-rs] version = "1" default-features = false [dependencies.either] version = "1" default-features = false [dependencies.ena] version = "0.14.3" optional = true [dependencies.indexmap] version = "2" features = ["serde"] optional = true [dependencies.log] version = "0.4" [dependencies.nalgebra] version = "0.33" features = ["libm"] default-features = false [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" default-features = false [dependencies.obj] version = "0.10.2" optional = true [dependencies.ordered-float] version = "4" default-features = false [dependencies.rayon] version = "1" optional = true [dependencies.rkyv] version = "0.7.41" optional = true [dependencies.rstar] version = "0.12.0" [dependencies.rustc-hash] version = "2" optional = true [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] optional = true [dependencies.simba] version = "0.9" default-features = false [dependencies.slab] version = "0.4" optional = true [dependencies.smallvec] version = "1" [dependencies.spade] version = "2.9" optional = true [dependencies.thiserror] version = "1" optional = true [dev-dependencies.macroquad] version = "0.4.12" [dev-dependencies.oorandom] version = "11" [dev-dependencies.ptree] version = "0.4.0" [dev-dependencies.rand] version = "0.8" [features] alloc = [] bytemuck-serialize = [ "bytemuck", "nalgebra/convert-bytemuck", ] default = [ "required-features", "std", ] dim3 = [] enhanced-determinism = [ "simba/libm_force", "indexmap", ] f32 = [] improved_fixed_point_support = [] parallel = ["rayon"] required-features = [ "dim3", "f32", ] rkyv-serialize = [ "rkyv/validation", "nalgebra/rkyv-serialize", "simba/rkyv-serialize", ] serde-serialize = [ "serde", "nalgebra/serde-serialize", "bitflags/serde", ] simd-is-enabled = [] simd-nightly = [ "simba/portable_simd", "simd-is-enabled", ] simd-stable = [ "simba/wide", "simd-is-enabled", ] std = [ "nalgebra/std", "slab", "rustc-hash", "simba/std", "arrayvec/std", "spade", "thiserror", "ena", ] wavefront = ["obj"] [badges.maintenance] status = "actively-developed"