# 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 = "avian3d" version = "0.1.2" authors = ["Joona Aalto "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An ECS-driven physics engine for the Bevy game engine" documentation = "https://docs.rs/avian3d" readme = "README.md" keywords = [ "gamedev", "physics", "simulation", "bevy", ] categories = [ "game-development", "science", "simulation", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Jondolf/avian" [lib] name = "avian3d" path = "src/lib.rs" bench = false required-features = ["3d"] [[example]] name = "cast_ray_predicate" path = "examples/cast_ray_predicate.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "chain_3d" path = "examples/chain_3d.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "collider_constructors" path = "examples/collider_constructors.rs" required-features = [ "3d", "default-collider", "bevy_scene", ] [[example]] name = "cubes" path = "examples/cubes.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "custom_broad_phase" path = "examples/custom_broad_phase.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "custom_constraint" path = "examples/custom_constraint.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "distance_joint_3d" path = "examples/distance_joint_3d.rs" required-features = [ "3d", "default-collider", "debug-plugin", ] [[example]] name = "dynamic_character_3d" path = "examples/dynamic_character_3d/main.rs" required-features = [ "3d", "default-collider", "bevy_scene", ] [[example]] name = "fixed_joint_3d" path = "examples/fixed_joint_3d.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "kinematic_character_3d" path = "examples/kinematic_character_3d/main.rs" required-features = [ "3d", "default-collider", "bevy_scene", ] [[example]] name = "prismatic_joint_3d" path = "examples/prismatic_joint_3d.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "revolute_joint_3d" path = "examples/revolute_joint_3d.rs" required-features = [ "3d", "default-collider", ] [[example]] name = "trimesh_shapes_3d" path = "examples/trimesh_shapes_3d.rs" required-features = [ "3d", "default-collider", "bevy_scene", ] [[bench]] name = "cubes" path = "benches/cubes.rs" harness = false required-features = [ "3d", "default-collider", ] [[bench]] name = "pyramid" path = "benches/pyramid.rs" [dependencies.avian_derive] version = "0.1" [dependencies.bevy] version = "0.14" default-features = false [dependencies.bevy_math] version = "0.14" [dependencies.bitflags] version = "2.5.0" [dependencies.derive_more] version = "0.99" [dependencies.fxhash] version = "0.2.1" [dependencies.indexmap] version = "2.0.0" [dependencies.itertools] version = "0.13" [dependencies.libm] version = "0.2" optional = true [dependencies.nalgebra] version = "0.32.6" features = ["convert-glam027"] optional = true [dependencies.parry3d] version = "0.15" optional = true [dependencies.parry3d-f64] version = "0.15" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.approx] version = "0.5" [dev-dependencies.bevy] version = "0.14" features = ["bevy_gltf"] default-features = false [dev-dependencies.bevy_math] version = "0.14" features = ["approx"] [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.insta] version = "1.0" [features] 3d = [] bevy_scene = ["bevy/bevy_scene"] collider-from-mesh = [ "bevy/bevy_render", "3d", ] debug-plugin = [ "bevy/bevy_gizmos", "bevy/bevy_render", ] default = [ "3d", "f32", "parry-f32", "collider-from-mesh", "bevy_scene", "debug-plugin", "parallel", ] default-collider = ["dep:nalgebra"] enhanced-determinism = [ "dep:libm", "parry3d?/enhanced-determinism", "parry3d-f64?/enhanced-determinism", "bevy_math/libm", ] f32 = [] f64 = [] parallel = [ "parry3d?/parallel", "parry3d-f64?/parallel", ] parry-f32 = [ "f32", "dep:parry3d", "default-collider", ] parry-f64 = [ "f64", "dep:parry3d-f64", "default-collider", ] serialize = [ "dep:serde", "bevy/serialize", "parry3d?/serde-serialize", "parry3d-f64?/serde-serialize", ] simd = [ "parry3d?/simd-stable", "parry3d-f64?/simd-stable", ]