Cargo Features

gphoto2 has no features set by default.

[dependencies]
gphoto2 = { version = "3.3.1", features = ["extended_logs", "serde", "test"] }
extended_logs

Uses gp_log_add_func instead of gp_context_set_log_func for logging (not supported on many systems)

Affects helper::hook_gp_log

serde

Enables serde

test

Enables test of libgphoto2_sys