Cargo Features

[dependencies]
web3_etz = { version = "0.8.0", default-features = false, features = ["http", "ipc", "ws", "tls"] }
default = http, ipc, tls, ws

These default features are set whenever web3_etz is added without default-features = false somewhere in the dependency tree.

http default = hyper, tokio-core

TODO [ToDr] move transports to separate crates

Affects transports::http

ipc default = tokio-core, tokio-io, tokio-uds

Affects transports::ipc

ws default = tokio-core, websocket

Affects transports::ws

tls default = hyper-tls, native-tls

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.

hyper http

Enables hyper ^0.12.25

Optional deps

hyper-tls tls

Enables hyper-tls ^0.3.2

native-tls tls
tokio-core http ipc ws

Enables tokio-core

For examples

tokio-io ipc
tokio-uds ipc

Enables tokio-uds ^0.1.0

websocket ws

Enables websocket ^0.21.1