Newer
Older
// Copyright 2017-2018 Parity Technologies (UK) Ltd.
asynchronous rob
committed
// This file is part of Substrate.
asynchronous rob
committed
// Substrate is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
asynchronous rob
committed
// Substrate is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
asynchronous rob
committed
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit="128"]
#[macro_use]
pub mod runtime_api;
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
#[cfg(feature = "std")]
pub use crate::blockchain::Info as ChainInfo;
#[cfg(feature = "std")]
pub use crate::call_executor::{CallExecutor, LocalCallExecutor};
#[cfg(feature = "std")]
new_in_mem,
BlockBody, BlockStatus, ImportNotifications, FinalityNotifications, BlockchainEvents,
BlockImportNotification, Client, ClientInfo, ChainHead,
#[cfg(feature = "std")]
pub use crate::notifications::{StorageEventStream, StorageChangeSet};
#[cfg(feature = "std")]
pub use state_machine::ExecutionStrategy;
#[cfg(feature = "std")]
Bastian Köcher
committed
#[doc(inline)]
pub use sr_api_macros::{decl_runtime_apis, impl_runtime_apis};