salva3d 0.7.0

3-dimensional particle-based fluid dynamics in Rust.
Documentation
[package]
name    = "salva3d"
version = "0.7.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional particle-based fluid dynamics in Rust."
documentation = "https://salva.rs/rustdoc/salva3d/index.html"
homepage = "https://salva.rs"
repository = "https://github.com/dimforge/salva"
readme = "README.md"
keywords = [ "physics", "dynamics", "particles", "fluids", "SPH" ]
license = "Apache-2.0"
edition = "2018"

[features]
default = [ "dim3" ]
dim3    = [ ]
parallel = [ "rayon" ]
rapier = [ "parry", "rapier3d" ]
sampling = [ "rapier" ]
rapier-testbed = [ "rapier", "rapier_testbed3d", "graphics" ]
rapier-harness = [ "rapier-testbed" ]
parry = [ "parry3d" ]
wasm-bindgen = [ "rapier3d/wasm-bindgen" ]
graphics = [ "bevy", "bevy_egui" ]

[lib]
name = "salva3d"
path = "src/lib.rs"
required-features = [ "dim3" ]

[dependencies]
approx = "0.4"
num-traits = "0.2"
fnv = "1.0"
itertools = "0.10"
generational-arena = "0.2"
instant = { version = "0.1", features = [ "now" ] }
rayon = { version = "1.5", optional = true }

nalgebra  = "0.29"
parry3d = { version = "0.7", optional = true }
rapier3d = { version = "0.11", optional = true }
rapier_testbed3d = { version = "0.11", optional = true }

bevy_egui = { version = "0.5", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy = { version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"], optional = true }

# Dependencies for WASM only.
[target.'cfg(target_arch = "wasm32")'.dependencies]
bevy = { version = "0.5", default-features = false, features = ["bevy_winit", "render"], optional = true }
bevy_webgl2 = { version = "0.5", optional = true }