Cargo Features
[dependencies]
dygma_focus = { version = "0.4.11", default-features = false, features = ["is_sync", "is_async"] }
- default = is_sync
-
The
is_sync
feature is set by default wheneverdygma_focus
is added without
somewhere in the dependency tree.default-features = false - is_sync default = serialport
-
Enables is_sync of maybe-async
- is_async = tokio, tokio-serial
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.