mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 16:11:05 +00:00
Restructure dispatch macro related exports (#1162)
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: command-bot <> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -14,10 +14,9 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
frame-support = { path = "../../support", default-features = false}
|
||||
pallet-nfts = { path = "..", default-features = false}
|
||||
sp-api = { path = "../../../primitives/api", default-features = false}
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "frame-support/std", "pallet-nfts/std", "sp-api/std" ]
|
||||
std = [ "codec/std", "pallet-nfts/std", "sp-api/std" ]
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use frame_support::dispatch::Vec;
|
||||
use sp_api::vec::Vec;
|
||||
|
||||
sp_api::decl_runtime_apis! {
|
||||
pub trait NftsApi<AccountId, CollectionId, ItemId>
|
||||
|
||||
Reference in New Issue
Block a user