mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Migrate rpc-servers, serializer, service and sr-io to the 2018 edition (#1732)
This commit is contained in:
committed by
Bastian Köcher
parent
91114c6c11
commit
31188dc013
@@ -2,6 +2,7 @@
|
||||
name = "substrate-service-test"
|
||||
version = "0.3.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
tempdir = "0.3"
|
||||
@@ -10,9 +11,9 @@ futures = "0.1"
|
||||
log = "0.4"
|
||||
env_logger = "0.6"
|
||||
fdlimit = "0.1"
|
||||
substrate-service = { path = "../../../core/service" }
|
||||
substrate-network = { path = "../../../core/network" }
|
||||
substrate-consensus-common = { path = "../../../core/consensus/common" }
|
||||
substrate-primitives = { path = "../../../core/primitives" }
|
||||
substrate-client = { path = "../../../core/client" }
|
||||
service = { package = "substrate-service", path = "../../../core/service" }
|
||||
network = { package = "substrate-network", path = "../../../core/network" }
|
||||
consensus = { package = "substrate-consensus-common", path = "../../../core/consensus/common" }
|
||||
primitives = { package = "substrate-primitives", path = "../../../core/primitives" }
|
||||
client = { package = "substrate-client", path = "../../../core/client" }
|
||||
sr-primitives = { path = "../../../core/sr-primitives" }
|
||||
|
||||
@@ -16,23 +16,11 @@
|
||||
|
||||
//! Service integration test utils.
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate tempdir;
|
||||
extern crate tokio;
|
||||
extern crate futures;
|
||||
extern crate env_logger;
|
||||
extern crate fdlimit;
|
||||
extern crate substrate_service as service;
|
||||
extern crate substrate_network as network;
|
||||
extern crate substrate_primitives as primitives;
|
||||
extern crate substrate_client as client;
|
||||
extern crate substrate_consensus_common as consensus;
|
||||
extern crate sr_primitives;
|
||||
use std::iter;
|
||||
use std::sync::Arc;
|
||||
use std::net::Ipv4Addr;
|
||||
use std::time::Duration;
|
||||
use log::info;
|
||||
use futures::{Future, Stream};
|
||||
use tempdir::TempDir;
|
||||
use tokio::runtime::Runtime;
|
||||
|
||||
Reference in New Issue
Block a user