1
1
[package ]
2
- name = " salva2d"
2
+ name = " salva2d"
3
3
version = " 0.9.0"
4
- authors = [
" Sébastien Crozet <[email protected] >" ]
4
+ authors = [
" Sébastien Crozet <[email protected] >" ]
5
5
description = " 2-dimensional particle-based fluid dynamics in Rust."
6
6
documentation = " https://salva.rs/docs"
7
7
homepage = " https://salva.rs"
8
8
repository = " https://github.com/dimforge/salva"
9
9
readme = " 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" ]
12
18
license = " Apache-2.0"
13
19
edition = " 2021"
14
20
15
21
[badges ]
16
22
maintenance = { status = " actively-developed" }
17
23
18
24
[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
+ ] }
29
40
30
41
[lib ]
31
42
name = " salva2d"
32
43
path = " ../../src/lib.rs"
33
- required-features = [ " dim2" ]
44
+ required-features = [" dim2" ]
34
45
35
46
[dependencies ]
36
47
approx = " 0.5"
37
48
num-traits = " 0.2"
38
49
fnv = " 1.0"
39
50
itertools = " 0.13"
40
51
generational-arena = " 0.2"
41
- instant = { version = " 0.1" , features = [ " now" ] }
52
+ instant = { version = " 0.1" , features = [" now" ] }
42
53
rayon = { version = " 1.8" , optional = true }
43
54
44
55
nalgebra = " 0.33"
@@ -49,8 +60,15 @@ rapier_testbed2d = { version = "0.21", optional = true }
49
60
bevy_egui = { version = " 0.26" , features = [" immutable_ctx" ], optional = true }
50
61
51
62
[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 }
53
68
54
69
# Dependencies for WASM only.
55
70
[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