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
somewhere in the dependency tree.default-features = false - json default = serde
-
Enables serde_json
Affects
common::EmitOpts.json
… - serde json
-
Enables serde and serde_derive, serde of gpiocdev
- uapi_v1 default
-
Affects
common::chip_from_path
,common::actual_abi_version
,common::UapiOpts.abi_version
… - uapi_v2 default
-
Affects
common::chip_from_path
,common::actual_abi_version
,common::UapiOpts.abi_version
…