Cargo Features

[dependencies]
gxci = { version = "0.3.4", default-features = false, features = ["solo", "multi", "use-opencv", "use-imageproc"] }
default = solo, use-opencv

These default features are set whenever gxci is added without default-features = false somewhere in the dependency tree.

solo default

Affects config::gxi_get_feature_value, config::gxi_set_feature_value, config::GxiEnumDescription, config::gxi_get_feature_name, config::gxi_get_int_range, config::gxi_get_int, config::gxi_set_int, config::gxi_get_float_range, config::gxi_get_float, config::gxi_set_float, config::gxi_get_enum_entry_nums, config::gxi_get_enum_description, config::gxi_get_enum, config::gxi_set_enum, config::gxi_get_bool, config::gxi_set_bool, acquisition::gxi_get_acquisition_mode, acquisition::gxi_set_acquisition_mode, acquisition::gxi_set_acquisition_mode_continuous, acquisition::gxi_acquisition_start

multi
use-opencv default = opencv

Affects device::gxi_save_image_as_png, device::gxi_open_stream, device::gxi_open_stream_interval

use-imageproc = imageproc

Affects device::gxi_save_image_as_png

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.

imageproc use-imageproc?
opencv use-opencv

Enables opencv ^0.92.3