fetch-metadata: remove tokio

This commit is contained in:
Niklas Adolfsson
2024-10-11 16:14:38 +02:00
parent 0e86993cd7
commit 9b68c0a1b2
5 changed files with 16 additions and 38 deletions
+2 -3
View File
@@ -13,7 +13,7 @@ description = "Generate an API for interacting with a substrate node from FRAME
[features]
default = []
fetch-metadata = ["dep:jsonrpsee", "dep:tokio", "dep:frame-metadata"]
fetch-metadata = ["dep:jsonrpsee", "dep:frame-metadata"]
web = ["jsonrpsee?/async-wasm-client", "jsonrpsee?/client-web-transport", "getrandom/js"]
[dependencies]
@@ -25,9 +25,8 @@ quote = { workspace = true }
syn = { workspace = true }
scale-info = { workspace = true }
subxt-metadata = { workspace = true }
jsonrpsee = { workspace = true, features = ["async-client", "client-ws-transport-tls", "http-client"], optional = true }
jsonrpsee = { workspace = true, features = ["ws-client", "http-client"], optional = true }
hex = { workspace = true, features = ["std"] }
tokio = { workspace = true, features = ["rt-multi-thread"], optional = true }
thiserror = { workspace = true }
scale-typegen = { workspace = true }