Cargo Features
[dependencies]
mcp9808 = { version = "0.4.0", default-features = false, features = ["with_floating_point", "no_floating_point"] }
- default = with_floating_point
-
The
with_floating_point
feature is set by default whenevermcp9808
is added without
somewhere in the dependency tree.default-features = false - with_floating_point default
-
Affects
reg_temp_generic::ReadableTempRegister.get_celsius
,reg_temp_generic::WritableTempRegister.set_celsius
… - no_floating_point