# 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 = "sparkl2d" version = "0.4.0" authors = ["Sébastien Crozet "] description = "3-dimensional physics engine in Rust." homepage = "http://sparkl.rs" documentation = "http://docs.rs/sparkl2d" 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 = [ "dim2", "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.parry2d] version = "0.13" [dependencies.rapier2d] version = "0.17.2" [dependencies.rapier_testbed2d] version = "0.17.0" optional = true [dependencies.rayon] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.sparkl2d-core] version = "0.4" [dependencies.sparkl2d-kernels] version = "0.4" optional = true [dev-dependencies.oorandom] version = "11" [features] cuda = [ "cust", "sparkl2d-kernels", ] default = [ "dim2", "f32", ] dim2 = [] f32 = [] graphics = [ "bevy", "bevy_egui", "bevy_ecs", ] rapier-harness = ["rapier-testbed"] rapier-testbed = [ "rapier_testbed2d", "graphics", "itertools", ] serde-serialize = [ "serde", "nalgebra/serde-serialize", "parry2d/serde-serialize", "rapier2d/serde-serialize", "sparkl2d-core/serde-serialize", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.bevy] version = "0.11" features = [ "bevy_winit", "bevy_pbr", "bevy_sprite", "bevy_core_pipeline", "bevy_render", "x11", ] optional = true default-features = false [badges.maintenance] status = "actively-developed"