Skip to content

Commit

Permalink
building with rapier 0.20 as dependency
Browse files Browse the repository at this point in the history
TODO: verify runtime
  • Loading branch information
Vrixyz committed Jun 17, 2024
1 parent 34bd132 commit 1d40a85
Show file tree
Hide file tree
Showing 16 changed files with 531 additions and 98 deletions.
30 changes: 26 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions rapier2d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "dimforge_rapier2d" # Can't be named rapier2d which conflicts with the dependency.
name = "dimforge_rapier2d" # Can't be named rapier2d which conflicts with the dependency.
version = "0.13.1"
authors = ["Sébastien Crozet <[email protected]>"]
description = "2-dimensional physics engine in Rust - official JS bindings."
Expand All @@ -23,7 +23,12 @@ required-features = ["dim2"]


[dependencies]
rapier2d = { version = "0.19.0", features = ["wasm-bindgen", "serde-serialize", "enhanced-determinism", "debug-render"] }
rapier2d = { version = "0.20.0", features = [
"wasm-bindgen",
"serde-serialize",
"enhanced-determinism",
"debug-render",
] }
ref-cast = "1"
wasm-bindgen = "0.2.90"
js-sys = "0.3"
Expand Down
203 changes: 202 additions & 1 deletion rapier2d/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions rapier2d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
"scripts": {
"build": "npm run clean && npm run build:wasm && npm run build:ts && npm run build:doc",
"build:doc": "typedoc --tsconfig tsconfig_typedoc.json",
"build:wasm": "./build_rust.sh",
"build:ts": "./build_typescript.sh",
"build:wasm": "sh ./build_rust.sh",
"build:ts": "sh ./build_typescript.sh",
"clean": "rimraf pkg"
},
"devDependencies": {
"rimraf": "^3.0.2"
"rimraf": "^3.0.2",
"typedoc": "^0.25.13"
},
"dependencies": {
"wasm-pack": "^0.12.1"
Expand Down
9 changes: 7 additions & 2 deletions rapier3d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "dimforge_rapier3d" # Can't be named rapier3d which conflicts with the dependency.
name = "dimforge_rapier3d" # Can't be named rapier3d which conflicts with the dependency.
version = "0.13.1"
authors = ["Sébastien Crozet <[email protected]>"]
description = "3-dimensional physics engine in Rust - official JS bindings."
Expand All @@ -23,7 +23,12 @@ required-features = ["dim3"]


[dependencies]
rapier3d = { version = "0.19.0", features = ["wasm-bindgen", "serde-serialize", "enhanced-determinism", "debug-render"] }
rapier3d = { version = "0.20.0", features = [
"wasm-bindgen",
"serde-serialize",
"enhanced-determinism",
"debug-render",
] }
ref-cast = "1"
wasm-bindgen = "^0.2.90"
js-sys = "0.3"
Expand Down
Loading

0 comments on commit 1d40a85

Please sign in to comment.