Enable more features when documenting on docs.rs
This commit is contained in:
@@ -38,6 +38,9 @@ debug-disable-legitimate-fe-exceptions = [ ]
|
|||||||
# Do not enable this unless you are working on the engine internals.
|
# Do not enable this unless you are working on the engine internals.
|
||||||
dev-remove-slow-accessors = []
|
dev-remove-slow-accessors = []
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "simd-stable", "serde-serialize", "enhanced-determinism", "debug-render"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rapier2d_f64"
|
name = "rapier2d_f64"
|
||||||
path = "../../src/lib.rs"
|
path = "../../src/lib.rs"
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ debug-disable-legitimate-fe-exceptions = [ ]
|
|||||||
# Do not enable this unless you are working on the engine internals.
|
# Do not enable this unless you are working on the engine internals.
|
||||||
dev-remove-slow-accessors = []
|
dev-remove-slow-accessors = []
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "simd-stable", "serde-serialize", "enhanced-determinism", "debug-render"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rapier2d"
|
name = "rapier2d"
|
||||||
path = "../../src/lib.rs"
|
path = "../../src/lib.rs"
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ debug-disable-legitimate-fe-exceptions = [ ]
|
|||||||
# Do not enable this unless you are working on the engine internals.
|
# Do not enable this unless you are working on the engine internals.
|
||||||
dev-remove-slow-accessors = []
|
dev-remove-slow-accessors = []
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "simd-stable", "serde-serialize", "enhanced-determinism", "debug-render"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rapier3d_f64"
|
name = "rapier3d_f64"
|
||||||
path = "../../src/lib.rs"
|
path = "../../src/lib.rs"
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ debug-disable-legitimate-fe-exceptions = [ ]
|
|||||||
# Do not enable this unless you are working on the engine internals.
|
# Do not enable this unless you are working on the engine internals.
|
||||||
dev-remove-slow-accessors = []
|
dev-remove-slow-accessors = []
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "simd-stable", "serde-serialize", "enhanced-determinism", "debug-render"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rapier3d"
|
name = "rapier3d"
|
||||||
path = "../../src/lib.rs"
|
path = "../../src/lib.rs"
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ dim2 = [ ]
|
|||||||
parallel = [ "rapier/parallel", "num_cpus" ]
|
parallel = [ "rapier/parallel", "num_cpus" ]
|
||||||
other-backends = [ "wrapped2d" ]
|
other-backends = [ "wrapped2d" ]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "other-backends"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = { version = "0.31", features = [ "rand" ] }
|
nalgebra = { version = "0.31", features = [ "rand" ] }
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ dim2 = [ ]
|
|||||||
parallel = [ "rapier/parallel", "num_cpus" ]
|
parallel = [ "rapier/parallel", "num_cpus" ]
|
||||||
other-backends = [ "wrapped2d" ]
|
other-backends = [ "wrapped2d" ]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "other-backends"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = { version = "0.31", features = [ "rand" ] }
|
nalgebra = { version = "0.31", features = [ "rand" ] }
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ default = [ "dim3" ]
|
|||||||
dim3 = [ ]
|
dim3 = [ ]
|
||||||
parallel = [ "rapier/parallel", "num_cpus" ]
|
parallel = [ "rapier/parallel", "num_cpus" ]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = { version = "0.31", features = [ "rand" ] }
|
nalgebra = { version = "0.31", features = [ "rand" ] }
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ dim3 = [ ]
|
|||||||
parallel = [ "rapier/parallel", "num_cpus" ]
|
parallel = [ "rapier/parallel", "num_cpus" ]
|
||||||
other-backends = [ "physx", "physx-sys", "glam" ]
|
other-backends = [ "physx", "physx-sys", "glam" ]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
features = ["parallel", "other-backends"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = { version = "0.31", features = [ "rand" ] }
|
nalgebra = { version = "0.31", features = [ "rand" ] }
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
|||||||
Reference in New Issue
Block a user