Cargo Features
[dependencies]
natpmp = { version = "0.5.0", default-features = false, features = ["all", "tokio", "async-std"] }
- default = tokio
-
The
tokio
feature is set by default whenevernatpmp
is added without
somewhere in the dependency tree.default-features = false - all = async-std, tokio
- tokio default all?
-
Enables tokio
- async-std all?
-
Enables async-std
NAT-PMP has 4 features without comments.