Cargo Features

[dependencies]
gpiocdev-cli = { version = "0.5.4", default-features = false, features = ["json", "serde", "uapi_v1", "uapi_v2"] }
default = json, uapi_v1, uapi_v2

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

json default = serde

Enables serde_json

Affects common::EmitOpts.json

serde json

Enables serde and serde_derive, serde of gpiocdev

uapi_v1 default

Enables uapi_v1 of gpiocdev

Affects common::chip_from_path, common::actual_abi_version, common::UapiOpts.abi_version

uapi_v2 default

Enables uapi_v2 of gpiocdev

Affects common::chip_from_path, common::actual_abi_version, common::UapiOpts.abi_version