Cargo Features
[dependencies]
nvapi = { version = "0.1.4", default-features = false, features = ["serde_types", "i2c"] }
- default = serde_types
-
The
serde_types
feature is set by default whenevernvapi
is added without
somewhere in the dependency tree.default-features = false - serde_types default = serde, serde_derive
-
Enables serde_types of nvapi-sys
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.
- serde serde_types
- serde_derive serde_types
- i2c implicit feature
-
Enables i2c
i2c:
Generic I2C traits