mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 01:01:04 +00:00
Migrate to the 2018 edition (#273)
This commit is contained in:
committed by
Gavin Wood
parent
c699bdc10a
commit
2c85f90e0a
@@ -3,8 +3,8 @@ name = "polkadot-executor"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
description = "Polkadot node implementation in Rust."
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
substrate-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
||||
substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
|
||||
polkadot-runtime = { path = "../runtime" }
|
||||
|
||||
@@ -17,9 +17,7 @@
|
||||
//! A `CodeExecutor` specialisation which uses natively compiled runtime when the wasm to be
|
||||
//! executed is equivalent to the natively compiled code.
|
||||
|
||||
extern crate polkadot_runtime;
|
||||
#[macro_use] extern crate substrate_executor;
|
||||
extern crate substrate_primitives as primitives;
|
||||
use substrate_executor::native_executor_instance;
|
||||
|
||||
native_executor_instance!(
|
||||
pub Executor,
|
||||
|
||||
Reference in New Issue
Block a user