# 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 = "bevy_collider_gen" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "a library for generating colliders, for bevy apps, from images with transparency" homepage = "https://github.com/shnewto/bevy_collider_gen" readme = "README.md" keywords = [ "bevy", "rapier", "png", "collider", "2d", ] license = "MIT OR Apache-2.0" repository = "https://github.com/shnewto/bevy_collider_gen" [lib] name = "bevy_collider_gen" path = "src/lib.rs" [[example]] name = "avian2d_colliders" path = "examples/avian2d_colliders.rs" required-features = [ "avian2d", "avian2d/debug-plugin", ] [[example]] name = "rapier2d_colliders" path = "examples/rapier2d_colliders.rs" required-features = [ "rapier2d", "bevy_rapier2d/debug-render-2d", ] [dependencies.avian2d] version = "0.1" features = [ "2d", "parry-f32", ] optional = true default-features = false [dependencies.bevy_math] version = "0.14" default-features = false [dependencies.bevy_rapier2d] version = "0.27" features = [ "dim2", "headless", ] optional = true default-features = false [dependencies.edges] version = "0.4.0" [dependencies.rayon] version = "1.10.0" optional = true [dev-dependencies.bevy] version = "0.14" [dev-dependencies.bevy_prototype_lyon] version = "0.12.0" [dev-dependencies.indoc] version = "2.0.4" [features] avian2d = ["dep:avian2d"] default = [ "rapier2d", "parallel", ] parallel = [ "dep:rayon", "avian2d/parallel", "bevy_rapier2d/parallel", ] rapier2d = ["dep:bevy_rapier2d"] [lints.clippy.cast_precision_loss] level = "allow" priority = 1 [lints.clippy.pedantic] level = "warn" priority = 0