Cargo Features
[dependencies]
nhl-stats = { version = "0.1.2", default-features = false, features = ["sync", "async"] }
- default = async, sync
-
These default features are set whenever
nhl-stats
is added without
somewhere in the dependency tree.default-features = false - sync default = reqwest
- async default = futures, hyper
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.
- reqwest sync
-
Enables reqwest ~0.9
- hyper async
-
Enables hyper ~0.11
- futures async
-
Enables futures ^0.1.23