Cargo Features
[dependencies]
rs-opw-kinematics = { version = "1.7.0", default-features = false, features = ["allow_filesystem", "collisions", "visualization"] }
- default = allow_filesystem, collisions, visualization
-
These default features are set whenever
rs-opw-kinematics
is added without
somewhere in the dependency tree.default-features = false - allow_filesystem default visualization = clap, ply-rs, regex, stl_io, sxd-document, yaml-rust2
-
Affects
rs-opw-kinematics::parameters_from_file
,rs-opw-kinematics::urdf
,rs-opw-kinematics::parameter_error
,rs-opw-kinematics::read_trimesh
… - collisions default visualization = parry3d, rayon
-
Affects
rs-opw-kinematics::collisions
,rs-opw-kinematics::kinematics_with_shape
… - visualization default = allow_filesystem, bevy, bevy_egui, collisions
-
Affects
rs-opw-kinematics::visualization
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- yaml-rust2 allow_filesystem
-
Enables yaml-rust2
Optional dependencies:
- yaml-rust2: For reading YAML files.
- sxd-document: For reading URDF/XML files
- regex: For regex matching in file parsing.
- clap: For command-line argument parsing by file processor. - sxd-document allow_filesystem
- regex allow_filesystem
- clap allow_filesystem
- parry3d collisions
-
Enables parry3d
Needed for collision
- rayon collisions
-
Enables rayon
Palellization of collision
- ply-rs allow_filesystem
-
Enables ply-rs
For loading meshes, needed for collision and visualization
- stl_io allow_filesystem
- bevy visualization
-
Enables bevy ^0.12
Needed for visualization. We must disable audio by not including
- bevy_egui visualization
-
Enables bevy_egui ^0.24