Cargo Features
[dependencies]
darksky = { version = "0.8.1", default-features = false, features = ["hyper-support", "reqwest"] }
- default = hyper-support
-
The
hyper-support
feature is set by default wheneverdarksky
is added without
somewhere in the dependency tree.default-features = false - hyper-support 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 implicit feature
-
Enables reqwest ~0.8
reqwest:
higher level HTTP client library
Affects
bridge::reqwest
,internal::from_reader
,darksky::bridge
… - futures hyper-support
-
Enables futures ~0.1
- hyper hyper-support
-
Enables hyper ~0.11
Affects
bridge::hyper
,internal::from_chunk
,darksky::bridge
…