diff options
| author | Sébastien Crozet <developer@crozet.re> | 2020-08-25 22:10:25 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2020-08-25 22:10:25 +0200 |
| commit | 754a48b7ff6d8c58b1ee08651e60112900b60455 (patch) | |
| tree | 7d777a6c003f1f5d8f8d24f533f35a95a88957fe /build | |
| download | rapier-0.1.0.tar.gz rapier-0.1.0.tar.bz2 rapier-0.1.0.zip | |
First public release of Rapier.v0.1.0
Diffstat (limited to 'build')
| -rw-r--r-- | build/rapier2d/Cargo.toml | 53 | ||||
| -rw-r--r-- | build/rapier3d/Cargo.toml | 53 | ||||
| -rw-r--r-- | build/rapier_testbed2d/Cargo.toml | 45 | ||||
| -rw-r--r-- | build/rapier_testbed3d/Cargo.toml | 47 |
4 files changed, 198 insertions, 0 deletions
diff --git a/build/rapier2d/Cargo.toml b/build/rapier2d/Cargo.toml new file mode 100644 index 0000000..8afa443 --- /dev/null +++ b/build/rapier2d/Cargo.toml @@ -0,0 +1,53 @@ +# Name idea: bident for 2D and trident for 3D +[package] +name = "rapier2d" +version = "0.1.0" +authors = [ "Sébastien Crozet <developer@crozet.re>" ] +description = "2-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 = [ "dim2" ] +dim2 = [ ] +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", "ncollide2d/serde-serialize", "serde", "generational-arena/serde", "bit-vec/serde", "arrayvec/serde" ] +enhanced-determinism = [ "simba/libm_force", "indexmap" ] + +[lib] +name = "rapier2d" +path = "../../src/lib.rs" +required-features = [ "dim2" ] + + +[dependencies] +vec_map = "0.8" +instant = { version = "0.1", features = [ "now" ]} +num-traits = "0.2" +nalgebra = "0.22" +ncollide2d = "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" ] } 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" ] } diff --git a/build/rapier_testbed2d/Cargo.toml b/build/rapier_testbed2d/Cargo.toml new file mode 100644 index 0000000..b4e82a2 --- /dev/null +++ b/build/rapier_testbed2d/Cargo.toml @@ -0,0 +1,45 @@ +[package] +name = "rapier_testbed2d" +version = "0.1.0" +authors = [ "Sébastien Crozet <developer@crozet.re>" ] +description = "Testbed for the 2-dimensional physics engine in Rust." +homepage = "http://rapier.org" +repository = "https://github.com/rustsim/rapier" +keywords = [ "physics", "dynamics", "rigid", "real-time", "joints" ] +license = "Apache-2.0" +edition = "2018" + + +[lib] +name = "rapier_testbed2d" +path = "../../src_testbed/lib.rs" +required-features = [ "dim2" ] + +[features] +default = [ "dim2" ] +dim2 = [ ] +parallel = [ "rapier2d/parallel", "num_cpus" ] +other-backends = [ "wrapped2d", "nphysics2d" ] + + +[dependencies] +nalgebra = "0.22" +kiss3d = { version = "0.25", features = [ "conrod" ] } +rand = "0.7" +rand_pcg = "0.2" +instant = { version = "0.1", features = [ "web-sys", "now" ]} +bitflags = "1" +num_cpus = { version = "1", optional = true } +wrapped2d = { version = "0.4", optional = true } +ncollide2d = "0.24" +nphysics2d = { version = "0.17", optional = true } +crossbeam = "0.7" +bincode = "1" +flexbuffers = "0.1" +md5 = "0.7" + + +[dependencies.rapier2d] +path = "../rapier2d" +version = "0.1" +features = [ "serde-serialize" ] diff --git a/build/rapier_testbed3d/Cargo.toml b/build/rapier_testbed3d/Cargo.toml new file mode 100644 index 0000000..31cdbb9 --- /dev/null +++ b/build/rapier_testbed3d/Cargo.toml @@ -0,0 +1,47 @@ +[package] +name = "rapier_testbed3d" +version = "0.1.0" +authors = [ "Sébastien Crozet <developer@crozet.re>" ] +description = "Testbed for the 3-dimensional physics engine in Rust." +homepage = "http://rapier.org" +repository = "https://github.com/rustsim/rapier" +keywords = [ "physics", "dynamics", "rigid", "real-time", "joints" ] +license = "Apache-2.0" +edition = "2018" + + +[lib] +name = "rapier_testbed3d" +path = "../../src_testbed/lib.rs" +required-features = [ "dim3" ] + +[features] +default = [ "dim3" ] +dim3 = [ ] +parallel = [ "rapier3d/parallel", "num_cpus" ] +other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ] + +[dependencies] +nalgebra = "0.22" +kiss3d = { version = "0.25", features = [ "conrod" ] } +rand = "0.7" +rand_pcg = "0.2" +instant = { version = "0.1", features = [ "web-sys", "now" ]} +bitflags = "1" +glam = { version = "0.8", optional = true } +num_cpus = { version = "1", optional = true } +ncollide3d = "0.24" +nphysics3d = { version = "0.17", optional = true } +physx = { version = "0.6", optional = true } +physx-sys = { version = "0.4", optional = true } +crossbeam = "0.7" +bincode = "1" +flexbuffers = "0.1" +serde_cbor = "0.11" +md5 = "0.7" +serde = { version = "1", features = [ "derive" ] } + +[dependencies.rapier3d] +path = "../rapier3d" +version = "0.1" +features = [ "serde-serialize" ] |
