fix(ci): resolve all quick-checks failures
- Remove missing cli crate from workspace members - Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml - Fix Rust import ordering with cargo fmt - Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ description = "Generate an API for interacting with a Pezkuwi/Bizinikiwi node fr
|
||||
|
||||
[features]
|
||||
default = []
|
||||
web = ["getrandom/js"]
|
||||
web = [ "getrandom/js" ]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] }
|
||||
|
||||
Vendored
+1
-1
@@ -15,7 +15,7 @@ description = "A no-std compatible subset of Subxt's functionality"
|
||||
keywords = ["extrinsic", "no-std", "parity", "subxt"]
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"blake2/std",
|
||||
|
||||
+7
-12
@@ -18,32 +18,27 @@ keywords = ["bizinikiwi", "blockchain", "parity"]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = ["native"]
|
||||
default = [ "native" ]
|
||||
|
||||
# Enable this for native (ie non web/wasm builds).
|
||||
# Exactly 1 of "web" and "native" is expected.
|
||||
native = [
|
||||
"smoldot-light/std",
|
||||
"tokio/rt",
|
||||
]
|
||||
native = [ "smoldot-light/std", "tokio/rt" ]
|
||||
|
||||
# Enable this for web/wasm builds.
|
||||
# Exactly 1 of "web" and "native" is expected.
|
||||
web = [
|
||||
"getrandom/js",
|
||||
"smoldot/std",
|
||||
|
||||
# For the light-client platform.
|
||||
"futures-timer/wasm-bindgen",
|
||||
"pin-project",
|
||||
"wasm-bindgen-futures",
|
||||
"web-time",
|
||||
|
||||
"getrandom/js",
|
||||
# For websocket.
|
||||
"js-sys",
|
||||
"pin-project",
|
||||
"send_wrapper",
|
||||
"smoldot/std",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
"web-time",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ homepage.workspace = true
|
||||
description = "Generate types and helpers for interacting with Bizinikiwi runtimes."
|
||||
|
||||
[features]
|
||||
web = ["pezkuwi-subxt-codegen/web"]
|
||||
web = [ "pezkuwi-subxt-codegen/web" ]
|
||||
runtime-wasm-path = [
|
||||
"pezsc-executor",
|
||||
"pezsc-executor-common",
|
||||
@@ -22,7 +22,7 @@ runtime-wasm-path = [
|
||||
"pezsp-maybe-compressed-blob",
|
||||
"pezsp-state-machine",
|
||||
]
|
||||
runtime-metadata-insecure-url = ["pezkuwi-subxt-utils-fetchmetadata/url"]
|
||||
runtime-metadata-insecure-url = [ "pezkuwi-subxt-utils-fetchmetadata/url" ]
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ homepage.workspace = true
|
||||
description = "Command line utilities for checking metadata compatibility between nodes."
|
||||
|
||||
[features]
|
||||
default = ["legacy", "std"]
|
||||
default = [ "legacy", "std" ]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"codec/std",
|
||||
|
||||
Vendored
+5
-8
@@ -15,12 +15,12 @@ description = "Make RPC calls to Bizinikiwi based nodes"
|
||||
keywords = ["parity", "rpcs", "subxt"]
|
||||
|
||||
[features]
|
||||
default = ["jsonrpsee", "native"]
|
||||
default = [ "jsonrpsee", "native" ]
|
||||
|
||||
subxt = ["dep:pezkuwi-subxt-core"]
|
||||
jsonrpsee = ["dep:jsonrpsee", "dep:tokio-util"]
|
||||
subxt = [ "dep:pezkuwi-subxt-core" ]
|
||||
jsonrpsee = [ "dep:jsonrpsee", "dep:tokio-util" ]
|
||||
|
||||
unstable-light-client = ["dep:pezkuwi-subxt-lightclient"]
|
||||
unstable-light-client = [ "dep:pezkuwi-subxt-lightclient" ]
|
||||
|
||||
reconnecting-rpc-client = [
|
||||
"dep:finito",
|
||||
@@ -29,10 +29,7 @@ reconnecting-rpc-client = [
|
||||
"tokio/sync",
|
||||
]
|
||||
|
||||
mock-rpc-client = [
|
||||
"dep:tokio",
|
||||
"tokio/sync",
|
||||
]
|
||||
mock-rpc-client = [ "dep:tokio", "tokio/sync" ]
|
||||
|
||||
# Enable this for native (ie non web/wasm builds).
|
||||
# Exactly 1 of "web" and "native" is expected.
|
||||
|
||||
+6
-6
@@ -15,7 +15,7 @@ description = "Sign extrinsics to be submitted by Subxt"
|
||||
keywords = ["extrinsic", "parity", "signer", "subxt"]
|
||||
|
||||
[features]
|
||||
default = ["ecdsa", "sr25519", "std", "subxt"]
|
||||
default = [ "ecdsa", "sr25519", "std", "subxt" ]
|
||||
std = [
|
||||
"base64?/std",
|
||||
"bip32?/std",
|
||||
@@ -45,9 +45,9 @@ std = [
|
||||
# corresponding features. Note: I had more difficulties getting
|
||||
# ecdsa compiling to WASM on my mac; following this comment helped:
|
||||
# https://github.com/rust-bitcoin/rust-bitcoin/issues/930#issuecomment-1215538699
|
||||
sr25519 = ["schnorrkel"]
|
||||
ecdsa = ["secp256k1"]
|
||||
unstable-eth = ["bip32", "ecdsa", "keccak-hash", "secp256k1"]
|
||||
sr25519 = [ "schnorrkel" ]
|
||||
ecdsa = [ "secp256k1" ]
|
||||
unstable-eth = [ "bip32", "ecdsa", "keccak-hash", "secp256k1" ]
|
||||
|
||||
# Enable support for loading key pairs from pezkuwi-js json.
|
||||
pezkuwi-js-compat = [
|
||||
@@ -63,11 +63,11 @@ pezkuwi-js-compat = [
|
||||
|
||||
# Make the keypair algorithms here compatible with Subxt's Signer trait,
|
||||
# so that they can be used to sign transactions for compatible chains.
|
||||
subxt = ["dep:pezkuwi-subxt-core"]
|
||||
subxt = [ "dep:pezkuwi-subxt-core" ]
|
||||
|
||||
# The getrandom package is used via schnorrkel. We need to enable the JS
|
||||
# feature on it if compiling for the web.
|
||||
web = ["getrandom/js"]
|
||||
web = [ "getrandom/js" ]
|
||||
|
||||
[dependencies]
|
||||
bip32 = { workspace = true, features = ["alloc", "secp256k1"], optional = true }
|
||||
|
||||
+5
-9
@@ -20,7 +20,7 @@ workspace = true
|
||||
[features]
|
||||
# For dev and documentation reasons we enable more features than are often desired.
|
||||
# it's recommended to use `--no-default-features` and then select what you need.
|
||||
default = ["jsonrpsee", "native"]
|
||||
default = [ "jsonrpsee", "native" ]
|
||||
|
||||
# Enable this for native (ie non web/wasm builds).
|
||||
# Exactly 1 of "web" and "native" is expected.
|
||||
@@ -47,18 +47,14 @@ web = [
|
||||
#
|
||||
# For instance `wasm-bindgen-futures` panics if the platform isn't wasm32 and
|
||||
# similar for tokio that requires a tokio runtime to be initialized.
|
||||
runtime = ["tokio/rt", "wasm-bindgen-futures"]
|
||||
runtime = [ "tokio/rt", "wasm-bindgen-futures" ]
|
||||
|
||||
# Enable this to use the reconnecting rpc client
|
||||
reconnecting-rpc-client = ["pezkuwi-subxt-rpcs/reconnecting-rpc-client"]
|
||||
reconnecting-rpc-client = [ "pezkuwi-subxt-rpcs/reconnecting-rpc-client" ]
|
||||
|
||||
# Enable this to use jsonrpsee, which enables the jsonrpsee RPC client, and
|
||||
# a couple of util functions which rely on jsonrpsee.
|
||||
jsonrpsee = [
|
||||
"dep:jsonrpsee",
|
||||
"pezkuwi-subxt-rpcs/jsonrpsee",
|
||||
"runtime",
|
||||
]
|
||||
jsonrpsee = [ "dep:jsonrpsee", "pezkuwi-subxt-rpcs/jsonrpsee", "runtime" ]
|
||||
|
||||
# Enable this to fetch and utilize the latest unstable metadata from a node.
|
||||
# The unstable metadata is subject to breaking changes and the subxt might
|
||||
@@ -74,7 +70,7 @@ unstable-light-client = [
|
||||
]
|
||||
|
||||
# Activate this to expose the ability to generate metadata from Wasm runtime files.
|
||||
runtime-wasm-path = ["pezkuwi-subxt-macro/runtime-wasm-path"]
|
||||
runtime-wasm-path = [ "pezkuwi-subxt-macro/runtime-wasm-path" ]
|
||||
|
||||
[dependencies]
|
||||
async-trait = { workspace = true }
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ homepage.workspace = true
|
||||
description = "subxt utility to fetch metadata"
|
||||
|
||||
[features]
|
||||
url = ["dep:jsonrpsee", "dep:tokio", "dep:url", "frame-metadata"]
|
||||
url = [ "dep:jsonrpsee", "dep:tokio", "dep:url", "frame-metadata" ]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, features = ["derive", "std"] }
|
||||
|
||||
Reference in New Issue
Block a user