11[package ]
2- name = " salva2d"
2+ name = " salva2d"
33version = " 0.9.0"
4- authors = [ " Sébastien Crozet <developer@crozet.re>" ]
4+ authors = [" Sébastien Crozet <developer@crozet.re>" ]
55description = " 2-dimensional particle-based fluid dynamics in Rust."
66documentation = " https://salva.rs/docs"
77homepage = " https://salva.rs"
88repository = " https://github.com/dimforge/salva"
99readme = " README.md"
10- categories = [ " science" , " game-development" , " mathematics" , " simulation" , " wasm" ]
11- keywords = [ " physics" , " dynamics" , " particles" , " fluids" , " SPH" ]
10+ categories = [
11+ " science" ,
12+ " game-development" ,
13+ " mathematics" ,
14+ " simulation" ,
15+ " wasm" ,
16+ ]
17+ keywords = [" physics" , " dynamics" , " particles" , " fluids" , " SPH" ]
1218license = " Apache-2.0"
1319edition = " 2021"
1420
1521[badges ]
1622maintenance = { status = " actively-developed" }
1723
1824[features ]
19- default = [ " dim2" ]
20- dim2 = [ ]
21- parallel = [ " rayon" ]
22- sampling = [ " rapier" ]
23- rapier = [ " parry" , " rapier2d" ]
24- rapier-testbed = [ " rapier" , " rapier_testbed2d" , " graphics" ]
25- rapier-harness = [ " rapier-testbed" ]
26- parry = [ " parry2d" ]
27- wasm-bindgen = [ " rapier2d/wasm-bindgen" ]
28- graphics = [ " bevy" , " bevy_egui" ]
25+ default = [" dim2" ]
26+ dim2 = []
27+ parallel = [" rayon" ]
28+ sampling = [" rapier" ]
29+ rapier = [" parry" , " rapier2d" ]
30+ rapier-testbed = [" rapier" , " rapier_testbed2d" , " graphics" ]
31+ rapier-harness = [" rapier-testbed" ]
32+ parry = [" parry2d" ]
33+ wasm-bindgen = [" rapier2d/wasm-bindgen" ]
34+ graphics = [" bevy" , " bevy_egui" ]
35+
36+ [lints ]
37+ rust.unexpected_cfgs = { level = " warn" , check-cfg = [
38+ ' cfg(feature, values("dim3"))' ,
39+ ] }
2940
3041[lib ]
3142name = " salva2d"
3243path = " ../../src/lib.rs"
33- required-features = [ " dim2" ]
44+ required-features = [" dim2" ]
3445
3546[dependencies ]
3647approx = " 0.5"
3748num-traits = " 0.2"
3849fnv = " 1.0"
3950itertools = " 0.13"
4051generational-arena = " 0.2"
41- instant = { version = " 0.1" , features = [ " now" ] }
52+ instant = { version = " 0.1" , features = [" now" ] }
4253rayon = { version = " 1.8" , optional = true }
4354
4455nalgebra = " 0.33"
@@ -49,8 +60,15 @@ rapier_testbed2d = { version = "0.21", optional = true }
4960bevy_egui = { version = " 0.26" , features = [" immutable_ctx" ], optional = true }
5061
5162[target .'cfg(not(target_arch = "wasm32"))' .dependencies ]
52- bevy = { version = " 0.13.2" , default-features = false , features = [" bevy_winit" , " bevy_render" , " x11" ], optional = true }
63+ bevy = { version = " 0.13.2" , default-features = false , features = [
64+ " bevy_winit" ,
65+ " bevy_render" ,
66+ " x11" ,
67+ ], optional = true }
5368
5469# Dependencies for WASM only.
5570[target .'cfg(target_arch = "wasm32")' .dependencies ]
56- bevy = { version = " 0.13" , default-features = false , features = [" bevy_winit" , " bevy_render" ], optional = true }
71+ bevy = { version = " 0.13" , default-features = false , features = [
72+ " bevy_winit" ,
73+ " bevy_render" ,
74+ ], optional = true }
0 commit comments