|
| 1 | +[workspace] |
| 2 | +members = [ |
| 3 | + "crates/slosh-testbed2d", |
| 4 | + "crates/slosh-testbed3d", |
| 5 | + "crates/slosh2d", |
| 6 | + "crates/slosh3d", |
| 7 | +] |
| 8 | +resolver = "2" |
| 9 | + |
| 10 | +[workspace.dependencies] |
| 11 | +nalgebra = { version = "0.34", features = ["convert-bytemuck"] } |
| 12 | +wgpu = { version = "26", features = ["naga-ir"] } |
| 13 | +encase = { version = "0.11", features = [ "nalgebra" ] } |
| 14 | +bytemuck = { version = "1", features = ["derive"] } |
| 15 | +async-channel = "2" |
| 16 | + |
| 17 | +slang-hal = "0.1" |
| 18 | +stensor = "0.1" |
| 19 | + |
| 20 | +[workspace.lints] |
| 21 | +rust.unexpected_cfgs = { level = "warn", check-cfg = [ |
| 22 | + 'cfg(feature, values("dim2", "dim3"))', |
| 23 | +] } |
| 24 | + |
| 25 | +[patch.crates-io] |
| 26 | +#shader-slang = { path = "../slang-rs" } |
| 27 | +slang-hal-derive = { path = "../slang-hal/crates/slang-hal-derive" } |
| 28 | +slang-hal = { path = "../slang-hal/crates/slang-hal" } |
| 29 | +minislang = { path = "../slang-hal/crates/minislang" } |
| 30 | +stensor = { path = "../stensor" } |
| 31 | +nexus2d = { path = "../nexus/crates/nexus2d" } |
| 32 | +nexus3d = { path = "../nexus/crates/nexus3d" } |
| 33 | +encase = { path = "../encase" } |
| 34 | +kiss3d = { path = "../kiss3d" } |
| 35 | + |
| 36 | +#wgcore = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 37 | +#wgcore-derive = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 38 | +#wgebra = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 39 | +#nexus3d = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 40 | +#nexus2d = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 41 | +#nexus3d = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 42 | +#nexus2d = { git = "https://github.com/dimforge/wgmath.git", rev = "6d17942bd841efdfcc696d8455b22be3a8ddfe8d" } |
| 43 | + |
| 44 | +#wgcore = { path = "../wgmath/crates/wgcore" } |
| 45 | +#wgcore-derive = { path = "../wgmath/crates/wgcore-derive" } |
| 46 | +#wgebra = { path = "../wgmath/crates/wgebra" } |
| 47 | +#nexus3d = { path = "../wgmath/crates/nexus/crates/impulse3d" } |
| 48 | +#impulse2d = { path = "../wgmath/crates/impulse/crates/impulse2d" } |
| 49 | +#impulse3d = { path = "../wgmath/crates/impulse/crates/impulse3d" } |
| 50 | +#impulse2d = { path = "../wgmath/crates/impulse/crates/impulse2d" } |
| 51 | +# |
| 52 | +#parry2d = { git = "https://github.com/dimforge/parry.git", rev = "407fb449504dde7ba0a3d80a8de7e37ac991a77a" } |
| 53 | +#parry3d = { git = "https://github.com/dimforge/parry.git", rev = "407fb449504dde7ba0a3d80a8de7e37ac991a77a" } |
| 54 | +#encase = { git = "https://github.com/sebcrozet/encase.git", rev = "6755c1414c225cbeac9fde1ff9394b70d3b05404" } |
| 55 | +##wgcore = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 56 | +##wgcore-derive = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 57 | +##wgebra = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 58 | +##impulse3d = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 59 | +##impulse2d = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 60 | +##impulse3d = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 61 | +##impulse2d = { git = "https://github.com/dimforge/wgmath.git", rev = "95538845080ef8680cf9906f1949623e30be3495" } |
| 62 | +#rapier3d = { git = "https://github.com/vrixyz/rapier.git", branch = "uber_physics_context" } |
| 63 | + |
| 64 | +[profile.release] |
| 65 | +opt-level = 'z' |
0 commit comments