# 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.68" name = "impacted" version = "2.0.3" authors = ["Jonathan Cornaz"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "2d collision test for arbitrary convex shapes" readme = "README.md" keywords = [ "collision", "2d", "geometry", "gamedev", "gjk", ] categories = ["game-development"] license = "Unlicense" repository = "https://github.com/jcornaz/impacted" [package.metadata.docs.rs] all-features = true [lib] name = "impacted" path = "src/lib.rs" [[example]] name = "bevy" path = "examples/bevy.rs" [[test]] name = "collision_spec" path = "tests/collision_spec.rs" [[test]] name = "v3_collision_spec" path = "tests/v3_collision_spec.rs" [[test]] name = "v3_ray_cast_spec" path = "tests/v3_ray_cast_spec.rs" [dependencies.bvh-arena] version = "1.1.3" optional = true default-features = false [dependencies.glam] version = "0.29.0" features = ["libm"] default-features = false [dependencies.libm] version = "0.2.8" optional = true default-features = false [dependencies.sealed] version = "0.5.0" default-features = false [dependencies.smallvec] version = "1.13.2" default-features = false [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.bevy] version = "0.12.1" features = [ "bevy_render", "bevy_winit", "bevy_core_pipeline", "bevy_sprite", "bevy_asset", "x11", ] default-features = false [dev-dependencies.glam] version = "0.29.0" features = [ "libm", "approx", ] [dev-dependencies.rstest] version = "0.22" default-features = false [build-dependencies.rustc_version] version = "0.4.0" [features] default = ["std"] glam-0-24 = [] std = [ "glam/std", "bvh-arena?/std", ] unstable-v3 = [] unstable-v3-aabb = [ "unstable-v3", "libm", ] unstable-v3-glam-0-24 = [] [badges.maintenance] status = "passively-maintained" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(nightly)"]