mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
62b97a090d
* Update all dependencies * Upgrade dependencies whenever “easy” “easy” means that there are no major changes required. * Fix build and bump paste dependency to 0.1.6 * Remove dead code * Re-add = dependency for futures-preview * Add missing std features for runtime-io * Remove git dependencies as updated versions have been published to crates.io * try to debug bug * For sr-io, "std" should imply "no_oom" and "no_panic_handler". Otherwise, rustc complains (correctly) about duplicate lang items. * Add missing "runtime-io/std" features * Fix compilation errors * Prevent duplicate lang items Rust does not allow duplicate lang items. When compiled without the `std` feature, `sr-io` defines two lang items. Therefore, `sr-io` compiled without `feature = "std"` must not be linked with `std`. However, `pwasm-utils` and `wasmi-validation` both bring in `std` unless compiled with `default-features = "false"`. This caused a duplicate lang item error. Building both with `default-features = "false"` prevents this error. When building with `feature = "std"`, they should both be built with the `std` feature, so this feature needs to be explicitly depended on. * Bump `impl_version` * Make tests pass Three tests used 1 less gas than they had previously. * Try to un-break build * Add a Cargo.lock file * Revert offchain code * Revert "Revert offchain code" This reverts commit d216d08cc6ca0344614669c1d24cde3aa5c0d4e2. * Don’t try to send a body with a GET request without adding a Transfer-Encoding or Content-Length header. This has always been wrong, but hyperium/hyper#1925 hid the bug until hyper was upgraded to 0.12.35. * Change some more GET requests to POST requests * Fix excess line width and remove an `extern crate` * Delete commented-out extern crate Co-Authored-By: Sergei Pepyakin <sergei@parity.io> * Fix regression in Cargo.toml files dev-dependencies need `default-features = false`, too. * Bump parity-wasm dependency * Bump `futures-preview` * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update Cargo.lock files * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update core/service/src/chain_ops.rs Co-Authored-By: Sergei Pepyakin <sergei@parity.io>
63 lines
2.5 KiB
TOML
63 lines
2.5 KiB
TOML
[package]
|
|
description = "Substrate network protocol"
|
|
name = "substrate-network"
|
|
version = "2.0.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bytes = "0.4.12"
|
|
derive_more = "0.15.0"
|
|
either = "1.5.3"
|
|
log = "0.4.8"
|
|
parking_lot = "0.9.0"
|
|
bitflags = "1.2.0"
|
|
fnv = "1.0.6"
|
|
futures = "0.1.29"
|
|
futures03 = { package = "futures-preview", version = "0.3.0-alpha.19", features = ["compat"] }
|
|
futures-timer = "0.4.0"
|
|
linked-hash-map = "0.5.2"
|
|
linked_hash_set = "0.1.3"
|
|
lru-cache = "0.1.2"
|
|
rustc-hex = "2.0.1"
|
|
rand = "0.7.2"
|
|
libp2p = { version = "0.12.0", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
|
|
fork-tree = { path = "../../core/utils/fork-tree" }
|
|
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
|
|
client = { package = "substrate-client", path = "../../core/client" }
|
|
header_metadata = { package = "substrate-header-metadata", path = "../../core/client/header-metadata" }
|
|
sr-primitives = { path = "../../core/sr-primitives" }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
|
|
peerset = { package = "substrate-peerset", path = "../../core/peerset" }
|
|
serde = { version = "1.0.101", features = ["derive"] }
|
|
serde_json = "1.0.40"
|
|
slog = { version = "2.5.2", features = ["nested-values"] }
|
|
slog_derive = "0.1.1"
|
|
smallvec = "0.6.10"
|
|
tokio-io = "0.1.12"
|
|
tokio = { version = "0.1.22", optional = true }
|
|
unsigned-varint = { version = "0.2.2", features = ["codec"] }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client", optional = true }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client", optional = true }
|
|
erased-serde = "0.3.9"
|
|
void = "1.0.2"
|
|
zeroize = "0.10.1"
|
|
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../consensus/babe/primitives" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.6.2"
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
quickcheck = "0.9.0"
|
|
rand = "0.7.2"
|
|
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client" }
|
|
test_runtime = { package = "substrate-test-runtime", path = "../../core/test-runtime" }
|
|
tempdir = "0.3.7"
|
|
tokio = "0.1.22"
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = ["keyring", "test-client", "tokio"]
|