aboutsummaryrefslogtreecommitdiff
path: root/build/rapier3d/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'build/rapier3d/Cargo.toml')
-rw-r--r--build/rapier3d/Cargo.toml53
1 files changed, 53 insertions, 0 deletions
diff --git a/build/rapier3d/Cargo.toml b/build/rapier3d/Cargo.toml
new file mode 100644
index 0000000..00eb77d
--- /dev/null
+++ b/build/rapier3d/Cargo.toml
@@ -0,0 +1,53 @@
+# Name idea: bident for 2D and trident for 3D
+[package]
+name = "rapier3d"
+version = "0.1.0"
+authors = [ "Sébastien Crozet <developer@crozet.re>" ]
+description = "3-dimensional physics engine in Rust."
+documentation = "http://rapier.rs/rustdoc/rapier2d/index.html"
+homepage = "http://rapier.rs"
+repository = "https://github.com/rustsim/rapier"
+readme = "README.md"
+keywords = [ "physics", "dynamics", "rigid", "real-time", "joints" ]
+license = "Apache-2.0"
+edition = "2018"
+
+[features]
+default = [ "dim3" ]
+dim3 = [ ]
+parallel = [ "rayon" ]
+simd-stable = [ "simba/wide", "simd-is-enabled" ]
+simd-nightly = [ "simba/packed_simd", "simd-is-enabled" ]
+# Do not enable this feature directly. It is automatically
+# enabled with the "simd-stable" or "simd-nightly" feature.
+simd-is-enabled = [ ]
+wasm-bindgen = [ "instant/wasm-bindgen" ]
+serde-serialize = [ "nalgebra/serde-serialize", "ncollide3d/serde-serialize", "serde", "generational-arena/serde", "bit-vec/serde" ]
+enhanced-determinism = [ "simba/libm_force", "indexmap" ]
+
+[lib]
+name = "rapier3d"
+path = "../../src/lib.rs"
+required-features = [ "dim3" ]
+
+
+[dependencies]
+vec_map = "0.8"
+instant = { version = "0.1", features = [ "now" ]}
+num-traits = "0.2"
+nalgebra = "0.22"
+ncollide3d = "0.24"
+simba = "0.2"
+approx = "0.3"
+rayon = { version = "1", optional = true }
+crossbeam = "0.7"
+generational-arena = "0.2"
+arrayvec = "0.5"
+bit-vec = "0.6"
+rustc-hash = "1"
+serde = { version = "1", features = [ "derive" ], optional = true }
+indexmap = { version = "1", features = [ "serde-1" ], optional = true }
+
+[dev-dependencies]
+bincode = "1"
+serde = { version = "1", features = [ "derive" ] }