Add support for generating metadata from runtime wasm files (#1720)

closes #1660
This commit is contained in:
Pavlo Khrystenko
2024-09-02 11:07:50 +02:00
committed by GitHub
parent 290bee3486
commit 3866737b29
14 changed files with 1075 additions and 73 deletions
+6
View File
@@ -15,6 +15,7 @@ description = "Generate types and helpers for interacting with Substrate runtime
[features]
web = ["subxt-codegen/web"]
runtime-path = ["sp-io", "sc-executor-common", "sp-state-machine", "sp-maybe-compressed-blob", "sc-executor"]
[lib]
proc-macro = true
@@ -27,6 +28,11 @@ syn = { workspace = true }
quote = { workspace = true }
subxt-codegen = { workspace = true, features = ["fetch-metadata"] }
scale-typegen = { workspace = true }
sc-executor = { workspace = true, optional = true }
sp-maybe-compressed-blob = { workspace = true, optional = true }
sp-state-machine = { workspace = true, optional = true }
sp-io = { workspace = true, optional = true }
sc-executor-common = { workspace = true, optional = true }
[lints]
workspace = true