Cargo Features
[dependencies]
viaspf = { version = "0.7.0-alpha.2", default-features = false, features = ["tokio-timeout", "hickory-resolver"] }
- default = tokio-timeout
-
The
tokio-timeout
feature is set by default wheneverviaspf
is added without
somewhere in the dependency tree.default-features = false - tokio-timeout default
-
Enables timeout logic when calling API functions.
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.
- hickory-resolver implicit feature
- tokio tokio-timeout