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 whenever mcp9808 is added without default-features = false somewhere in the dependency tree.

with_floating_point default

Affects reg_temp_generic::ReadableTempRegister.get_celsius, reg_temp_generic::WritableTempRegister.set_celsius

no_floating_point