# 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 = "2018" name = "sparkl3d" version = "0.4.0" authors = ["Sébastien Crozet "] description = "3-dimensional physics engine in Rust." homepage = "http://sparkl.rs" documentation = "http://docs.rs/sparkl3d" readme = "README.md" keywords = [ "physics", "dynamics", "rigid", "real-time", "joints", ] categories = [ "science", "game-development", "mathematics", "simulation", "wasm", ] license = "Apache-2.0" repository = "https://github.com/dimforge/sparkl" [lib] path = "src/lib.rs" required-features = [ "dim3", "f32", ] [dependencies.anyhow] version = "1" [dependencies.bevy_ecs] version = "0.11" optional = true [dependencies.bevy_egui] version = "0.22" features = ["immutable_ctx"] optional = true [dependencies.bitflags] version = "1" [dependencies.bytemuck] version = "1" [dependencies.cust] version = "0.3" optional = true [dependencies.instant] version = "0.1" features = ["now"] [dependencies.itertools] version = "0.10" optional = true [dependencies.log] version = "0.4" [dependencies.memmap2] version = "0.5" [dependencies.nalgebra] version = "0.32" [dependencies.oorandom] version = "11" [dependencies.ordered-float] version = "3" [dependencies.parry3d] version = "0.13" [dependencies.rapier3d] version = "0.17.2" [dependencies.rapier_testbed3d] version = "0.17.0" optional = true [dependencies.rayon] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.sparkl3d-core] version = "0.4" [dependencies.sparkl3d-kernels] version = "0.4" optional = true [dev-dependencies.oorandom] version = "11" [features] cuda = [ "cust", "sparkl3d-kernels", ] default = [ "dim3", "f32", ] dim3 = [] f32 = [] graphics = [ "bevy", "bevy_egui", "bevy_ecs", ] rapier-harness = ["rapier-testbed"] rapier-testbed = [ "rapier_testbed3d", "graphics", "itertools", ] serde-serialize = [ "serde", "nalgebra/serde-serialize", "parry3d/serde-serialize", "rapier3d/serde-serialize", "sparkl3d-core/serde-serialize", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.bevy] version = "0.11" features = [ "bevy_winit", "bevy_render", "x11", ] optional = true default-features = false [badges.maintenance] status = "actively-developed"