Cargo Features
[dependencies]
opencv-ros-camera = { version = "0.15.0", default-features = false, features = ["std", "serde-serialize"] }
- default = std
-
The
std
feature is set by default wheneveropencv-ros-camera
is added without
somewhere in the dependency tree.default-features = false - std default serde-serialize? = thiserror
-
It would be nice if our serde-serialize feature did not depend on std. Then we could use serde in no_std contexts.
The serde crate supports this. However, the following are obstacles to this goal:
- serde_yaml requires std (as of serde_yaml 0.8)
- nalgebra/serde-serialize requires std (as of nalgebra 0.20) - serde-serialize = std
-
Enables serde and serde_yaml, serde-serialize of nalgebra
Affects
ros_file_support::from_ros_yaml
…
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.
- thiserror std
-
Enables thiserror ^1.0