Cargo Features
[dependencies]
market-data = { version = "0.3.3", default-features = false, features = ["use-sync", "use-async"] }
- default = use-sync
-
The
use-sync
feature is set by default whenevermarket-data
is added without
somewhere in the dependency tree.default-features = false - use-sync default = ureq
-
Affects
publishers::Publisher.get_data
… - use-async = reqwest
-
Affects
publishers::Publisher.get_data
…
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.
- ureq use-sync
- reqwest use-async?
-
Enables reqwest ^0.11.24