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:
Bastian Köcher
2023-11-23 14:52:46 +01:00
committed by GitHub
parent 12062f6a3a
commit 21f1811c66
30 changed files with 124 additions and 99 deletions
Generated
+7 -3
View File
@@ -1493,8 +1493,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f"
dependencies = [
"bitcoin_hashes",
"rand 0.7.3",
"rand_core 0.5.1",
"rand 0.8.5",
"rand_core 0.6.4",
"serde",
"unicode-normalization",
]
@@ -4237,6 +4237,7 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-storage 13.0.0",
"sp-version",
"thiserror",
"tokio",
"tokio-util",
@@ -10423,6 +10424,7 @@ dependencies = [
"pallet-nfts",
"parity-scale-codec",
"sp-api",
"sp-std 8.0.0",
]
[[package]]
@@ -16124,6 +16126,7 @@ dependencies = [
"sp-blockchain",
"sp-consensus",
"sp-core",
"sp-externalities 0.19.0",
"sp-maybe-compressed-blob",
"sp-rpc",
"sp-runtime",
@@ -16357,6 +16360,7 @@ dependencies = [
"lazy_static",
"libc",
"log",
"parity-scale-codec",
"parking_lot 0.12.1",
"regex",
"rustc-hash",
@@ -20011,7 +20015,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if",
"digest 0.10.7",
"rand 0.7.3",
"rand 0.8.5",
"static_assertions",
]