Cargo Features

[dependencies]
ms5611-i2c = { version = "0.1.0", default-features = false, features = ["is_async", "is_sync"] }
default = is_sync

Feature flags for conditional compilation
Default features

is_async

Async feature

Enables embedded-hal-async

Async version of embedded-hal

and async of embedded-hal-bus

Dependencies for the package
Hardware Abstraction Layer for bus

is_sync default

Sync feature

Enables embedded-hal

Embedded Hardware Abstraction Layer

and is_sync of maybe-async

Conditional async/await support