Cargo Features

nodi = { version = "1.0.0", default-features = false, features = ["hybrid-sleep", "midir-jack", "midir-winrt"] }
default = hybrid-sleep

The hybrid-sleep feature is set by default whenever nodi is added without default-features = false somewhere in the dependency tree.

hybrid-sleep default

Enables jack of midir ^0.9.1


Enables winrt of midir ^0.9.1

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.

midir midir-jack? midir-winrt?

Enables midir ^0.9.1