Cargo Features
[dependencies]
jsonrpc_client = { version = "0.7.1", default-features = false, features = ["macros", "isahc", "reqwest", "surf"] }
- default = macros
-
The
macros
feature is set by default wheneverjsonrpc_client
is added without
somewhere in the dependency tree.default-features = false - macros default = jsonrpc_client_macro
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.
- isahc implicit feature
-
Enables isahc ^0.9
isahc:
The practical HTTP client that is fun to use
- jsonrpc_client_macro macros
- reqwest implicit feature
-
Enables reqwest ^0.11
reqwest:
higher level HTTP client library
- surf implicit feature
-
Enables surf
surf:
Surf the web - HTTP client framework
Affects
jsonrpc_client::surf
…