Cargo Features
ic-web3-rs has no features set by default.
[dependencies]
ic-web3-rs = { version = "0.1.10", features = ["wasm", "eip-1193", "headers", "async-native-tls", "async-std", "tokio", "tokio-stream", "tokio-util", "soketto", "url", "rand"] }
- wasm eip-1193? = js-sys, wasm-bindgen, wasm-bindgen-futures
- eip-1193 = wasm
-
Affects
transports::eip_1193
…
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.
- headers implicit feature
-
Enables headers ^0.3
headers:
typed HTTP headers
- async-native-tls implicit feature
-
Enables web3-async-native-tls
Temporarily use forked version released to crates.io
- async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
- tokio-stream implicit feature
-
Enables tokio-stream
tokio-stream:
Utilities to work with
Stream
andtokio
- tokio-util implicit feature
-
Enables tokio-util
tokio-util:
Additional utilities for working with Tokio
- soketto implicit feature
-
Enables soketto ^0.7.0
soketto:
A websocket protocol implementation
- url implicit feature
-
Enables url
Shared (WS, HTTP)
- js-sys wasm?
-
Enables js-sys
EIP-1193
- rand implicit feature
-
Enables rand
This is a transitive dependency, only here so we can turn on its wasm_bindgen feature
- wasm-bindgen wasm?
- wasm-bindgen-futures wasm?