Cargo Features
[dependencies]
mavlink-core = { version = "0.13.1", default-features = false, features = ["std", "tcp", "direct-serial", "embedded", "embedded-hal-02", "serde"] }
- std default
- udp tcp default
- direct-serial default = serial
- embedded
-
NOTE: Only one of 'embedded' and 'embedded-hal-02' features can be enabled.
Use "embedded' feature to enable embedded-hal=1.0 (embedded-io and embedded-io-async is part of embedded-hal).
Use 'embedded-hal-0.2' feature to enable deprecated embedded-hal=0.2.3 (some hals is not supports embedded-hal=1.0 yet).Enables embedded-io and embedded-io-async
Affects
mavlink-core::read_v1_raw_message_async
,mavlink-core::read_v1_msg_async
,mavlink-core::read_v2_raw_message_async
,mavlink-core::read_v2_msg_async
,mavlink-core::write_versioned_msg_async
,mavlink-core::write_v2_msg_async
,mavlink-core::write_v1_msg_async
,mavlink-core::embedded
… - default = direct-serial, serde, std, tcp, udp
-
These default features are set whenever
mavlink-core
is added without
somewhere in the dependency tree.default-features = false - embedded-hal-02
-
Enables embedded-hal ^0.2 and nb
Affects
mavlink-core::embedded
… - serde default
-
Enables serde and serde_arrays
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.