Cargo Features
[dependencies]
eventsource = { version = "0.5.0", default-features = false, features = ["with-reqwest"] }
- default = with-reqwest
-
The
with-reqwest
feature is set by default whenevereventsource
is added without
somewhere in the dependency tree.default-features = false - with-reqwest default = reqwest
-
Enable the reqwest-based client.
Affects
eventsource::reqwest
…
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 with-reqwest
-
Enables reqwest ^0.10.4