Files
pezkuwi-subxt/substrate/utils/browser/Cargo.toml
T
Max Inden f0b99dd2f2 *: Update to libp2p v0.33.0 (#7759)
* *: Update to libp2p v0.33.0

* client/network: Consistently track request arrival time

With https://github.com/libp2p/rust-libp2p/pull/1886/ one is guaranteed
to receive either a `ResponseSent` or a `InboundFailure` event for each
received inbound request via `RequestResponseEvent::Message`. Given this
guarantee there is no need to track arrival times in a best-effort
manner and thus there is no need to use a LRU cache for arrival times.

* client/offchain: Adjust to PeerId API changes
2021-01-04 11:54:51 +00:00

37 lines
1.4 KiB
TOML

[package]
name = "substrate-browser-utils"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Utilities for creating a browser light-client."
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
futures = { version = "0.3", features = ["compat"] }
futures01 = { package = "futures", version = "0.1.29" }
log = "0.4.8"
libp2p-wasm-ext = { version = "0.26", features = ["websocket"] }
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
js-sys = "0.3.34"
wasm-bindgen = "0.2.57"
wasm-bindgen-futures = "0.4.18"
kvdb-web = "0.7"
sp-database = { version = "2.0.0", path = "../../primitives/database" }
sc-informant = { version = "0.8.0", path = "../../client/informant" }
sc-service = { version = "0.8.0", path = "../../client/service", default-features = false }
sc-network = { path = "../../client/network", version = "0.8.0"}
sc-chain-spec = { path = "../../client/chain-spec", version = "2.0.0"}
# Imported just for the `wasm-bindgen` feature
rand6 = { package = "rand", version = "0.6", features = ["wasm-bindgen"] }
rand = { version = "0.7", features = ["wasm-bindgen"] }
futures-timer = { version = "3.0.1", features = ["wasm-bindgen"]}
chrono = { version = "0.4", features = ["wasmbind"] }