Commit c9f46665 authored by Andrew Jones's avatar Andrew Jones

Remove GenerateAbi trait

parent 94fb7a50
Pipeline #97866 passed with stages
in 5 minutes and 13 seconds
// Copyright 2018-2019 Parity Technologies (UK) Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/// Types implementing this trait can generate their metadata.
pub trait GenerateAbi {
/// Generates the virtual ABI (metadata).
fn generate_abi() -> ink_abi::InkProject;
}
......@@ -14,9 +14,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "std")]
mod abi;
mod contract;
mod cross_calling;
mod dispatcher;
......@@ -27,9 +24,6 @@ mod traits;
pub use ink_lang_macro::contract;
#[cfg(feature = "std")]
pub use self::abi::GenerateAbi;
pub use self::{
contract::{
DispatchMode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment