# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "mwc-web3" version = "0.15.0" authors = ["Tomasz Drwięga "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Ethereum JSON-RPC client." homepage = "https://github.com/tomusdrw/rust-web3" documentation = "https://docs.rs/web3" readme = "README.md" keywords = [ "jsonrpc", "web3", "ethereum", "rpc", "client", ] license = "MIT" repository = "https://github.com/tomusdrw/rust-web3" [lib] name = "mwc_web3" path = "src/lib.rs" [[example]] name = "bench" path = "examples/bench.rs" [[example]] name = "contract" path = "examples/contract.rs" [[example]] name = "contract_log_filter" path = "examples/contract_log_filter.rs" [[example]] name = "contract_log_pubsub" path = "examples/contract_log_pubsub.rs" [[example]] name = "contract_storage" path = "examples/contract_storage.rs" [[example]] name = "pubsub" path = "examples/pubsub.rs" [[example]] name = "transport_batch" path = "examples/transport_batch.rs" [[example]] name = "transport_either" path = "examples/transport_either.rs" [[example]] name = "transport_http" path = "examples/transport_http.rs" [[example]] name = "transport_ws" path = "examples/transport_ws.rs" [dependencies.arrayvec] version = "0.5.0" [dependencies.async-native-tls] version = "0.3" optional = true default-features = false [dependencies.async-std] version = "1.6" optional = true [dependencies.base64] version = "0.13" optional = true [dependencies.derive_more] version = "0.99.1" [dependencies.ethabi] version = "13.0.0" [dependencies.ethereum-types] version = "0.10.0" [dependencies.futures] version = "0.3.5" [dependencies.futures-timer] version = "3.0.2" [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.hex] version = "0.4" [dependencies.hyper] version = "0.13" features = [ "stream", "tcp", ] optional = true default-features = false [dependencies.hyper-proxy] version = "0.8.0" optional = true [dependencies.hyper-tls] version = "0.4" optional = true [dependencies.js-sys] version = "0.3.45" optional = true [dependencies.jsonrpc-core] version = "17.0.0" [dependencies.log] version = "0.4.6" [dependencies.parking_lot] version = "0.11.0" [dependencies.pin-project] version = "1.0" [dependencies.rand] version = "0.8.1" optional = true [dependencies.rlp] version = "0.5" [dependencies.secp256k1] version = "0.20" features = ["recovery"] optional = true [dependencies.serde] version = "1.0.90" features = ["derive"] [dependencies.serde_json] version = "1.0.39" [dependencies.soketto] version = "0.4.1" optional = true [dependencies.tiny-keccak] version = "2.0.1" features = ["keccak"] [dependencies.tokio] version = "0.2" features = ["full"] optional = true [dependencies.tokio-util] version = "0.6" features = ["compat"] optional = true [dependencies.typed-headers] version = "0.2.0" optional = true [dependencies.url] version = "2.1" optional = true [dependencies.wasm-bindgen] version = "0.2.68" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4.18" optional = true [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.hex-literal] version = "0.3" [dev-dependencies.wasm-bindgen-test] version = "0.3.19" [features] arbitrary_precision = [ "serde_json/arbitrary_precision", "jsonrpc-core/arbitrary_precision", ] default = [ "http-tls", "signing", "ws-tls-tokio", "ipc-tokio", ] eip-1193 = [ "js-sys", "wasm-bindgen", "wasm-bindgen-futures", "futures-timer/wasm-bindgen", "rand", "getrandom", ] http = [ "hyper", "hyper-proxy", "url", "base64", "typed-headers", ] http-tls = [ "hyper-tls", "http", ] ipc-tokio = ["tokio"] signing = ["secp256k1"] test = [] ws-async-std = [ "soketto", "url", "async-std", ] ws-tls-async-std = [ "async-native-tls", "async-native-tls/runtime-async-std", "ws-async-std", ] ws-tls-tokio = [ "async-native-tls", "async-native-tls/runtime-tokio", "ws-tokio", ] ws-tokio = [ "soketto", "url", "tokio", "tokio-util", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio] version = "0.2" features = ["full"]