mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-02 03:37:25 +00:00
sp-api: Move macro related re-exports to __private (#2446)
This moves the macro related re-exports to `__private` to make it more obvious for downstream users that they are using an internal api. --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -14,9 +14,10 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
pallet-nfts = { path = "..", default-features = false}
|
||||
sp-api = { path = "../../../primitives/api", default-features = false}
|
||||
pallet-nfts = { path = "..", default-features = false }
|
||||
sp-api = { path = "../../../primitives/api", default-features = false }
|
||||
sp-std = { path = "../../../primitives/std", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pallet-nfts/std", "sp-api/std" ]
|
||||
std = [ "codec/std", "pallet-nfts/std", "sp-api/std", "sp-std/std" ]
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use sp_api::vec::Vec;
|
||||
use sp_std::vec::Vec;
|
||||
|
||||
sp_api::decl_runtime_apis! {
|
||||
pub trait NftsApi<AccountId, CollectionId, ItemId>
|
||||
|
||||
Reference in New Issue
Block a user