# 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-core" version = "0.2.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_core/lib.rs" required-features = [ "dim3", "f32", ] [dependencies.bitflags] version = "1" [dependencies.bytemuck] version = "1" features = ["derive"] [dependencies.cust_core] version = "0.1" optional = true [dependencies.nalgebra] version = "0.32" features = [ "macros", "libm", "bytemuck", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dev-dependencies.oorandom] version = "11" [features] cuda = [ "cust", "cust_core", "nalgebra/cuda", ] default = [ "dim3", "f32", ] dim3 = [] f32 = [] serde-serialize = [ "serde", "nalgebra/serde-serialize", ] [target."cfg(not(target_os = \"cuda\"))".dependencies.cust] version = "0.3" optional = true [badges.maintenance] status = "actively-developed"