Skip to content

Commit 5a0e1ae

Browse files
committed
fix: 项目结构错误
1 parent 3345708 commit 5a0e1ae

3 files changed

Lines changed: 57 additions & 16 deletions

File tree

File renamed without changes.

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[workspace]
2+
resolver = "3"
3+
members = ["marten", "rapier"]
4+
5+
[workspace.package]
6+
edition = "2024"
7+
version = "0.1.0"
8+
9+
[workspace.dependencies]
10+
marten = { path = "marten" }
11+
12+
log = "0.4.22"
13+
jni = "0.21.1"
14+
colored = "2.1.0"
15+
fern = { version = "0.6.2", features = ["colored"] }
16+
humantime = "2.1.0"

rapier/Cargo.toml

Lines changed: 41 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,41 @@
1-
[workspace]
2-
resolver = "3"
3-
members = ["marten", "rapier"]
4-
5-
[workspace.package]
6-
edition = "2024"
7-
version = "0.1.0"
8-
9-
[workspace.dependencies]
10-
marten = { path = "marten" }
11-
12-
log = "0.4.22"
13-
jni = "0.21.1"
14-
colored = "2.1.0"
15-
fern = { version = "0.6.2", features = ["colored"] }
16-
humantime = "2.1.0"
1+
[package]
2+
name = "sable_rapier"
3+
version.workspace = true
4+
edition.workspace = true
5+
6+
[dependencies]
7+
marten.workspace = true
8+
9+
fern.workspace = true
10+
jni.workspace = true
11+
colored.workspace = true
12+
log.workspace = true
13+
humantime.workspace = true
14+
15+
rapier3d = { git = "https://github.com/ryanhcode/rapier", rev = "a728067629d4f85cef99f388e12c9b0ee8cd1164", features = [
16+
"simd-nightly",
17+
"parallel",
18+
] }
19+
#rapier3d = { version = "0.26.1", features = [ "simd-stable" ] }
20+
21+
rayon = "1.10.0"
22+
dashmap = "7.0.0-rc2"
23+
24+
[lib]
25+
crate-type = ["cdylib", "staticlib"]
26+
name = "sable_rapier"
27+
path = "src/lib.rs"
28+
29+
[profile.bench]
30+
debug = true
31+
32+
[[bench]]
33+
name = "collision_benchmark"
34+
harness = false
35+
36+
[dev-dependencies]
37+
criterion = "0.8.2"
38+
39+
[profile.release]
40+
lto = "thin"
41+
codegen-units = 1

0 commit comments

Comments
 (0)