Files
pezkuwi-sdk/bizinikiwi/bin/node/cli/Cargo.toml
T
pezkuwichain 3208f208c0 fix: Resolve cargo clippy errors and add CI workflow plan
## Changes

### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example

### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs

### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs

## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
2025-12-23 09:37:11 +03:00

229 lines
6.2 KiB
TOML

[package]
name = "pezstaging-node-cli"
version = "3.0.0-dev"
authors.workspace = true
description = "Generic Bizinikiwi node implementation in Rust."
build = "build.rs"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
default-run = "bizinikiwi-node"
homepage.workspace = true
repository.workspace = true
publish = false
documentation = "https://docs.rs/pezstaging-node-cli"
[lints]
workspace = true
[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on linux, see
# https://github.com/rustwasm/wasm-pack/issues/781 etc.
wasm-opt = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[badges]
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "pezkuwichain/pezkuwi-sdk" }
is-it-maintained-open-issues = { repository = "pezkuwichain/pezkuwi-sdk" }
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "bizinikiwi-node"
path = "bin/main.rs"
required-features = ["cli"]
[[bench]]
name = "transaction_pool"
harness = false
[[bench]]
name = "block_production"
harness = false
[[bench]]
name = "executor"
harness = false
[dependencies]
# third-party dependencies
array-bytes = { workspace = true, default-features = true }
clap = { features = ["derive"], optional = true, workspace = true }
codec = { workspace = true, default-features = true }
futures = { workspace = true }
jsonrpsee = { features = ["server"], workspace = true }
log = { workspace = true, default-features = true }
rand = { workspace = true, default-features = true }
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
pezkuwi-subxt-signer = { workspace = true, features = ["unstable-eth"] }
# The Pezkuwi-SDK:
pezkuwi-sdk = { features = [
"bizinikiwi-build-script-utils",
"bizinikiwi-frame-rpc-support",
"bizinikiwi-frame-rpc-system",
"bizinikiwi-prometheus-endpoint",
"bizinikiwi-rpc-client",
"bizinikiwi-state-trie-migration-rpc",
"bizinikiwi-wasm-builder",
"frame-remote-externalities",
"pez-fork-tree",
"pez-generate-bags",
"pez-subkey",
"pez-tracing-gum",
"pezframe-benchmarking-cli",
"pezframe-support-procedural-tools",
"pezmmr-gadget",
"pezmmr-rpc",
"pezpallet-transaction-payment-rpc",
"pezsc-allocator",
"pezsc-authority-discovery",
"pezsc-basic-authorship",
"pezsc-block-builder",
"pezsc-chain-spec",
"pezsc-cli",
"pezsc-client-api",
"pezsc-client-db",
"pezsc-consensus",
"pezsc-consensus-aura",
"pezsc-consensus-babe",
"pezsc-consensus-babe-rpc",
"pezsc-consensus-beefy",
"pezsc-consensus-beefy-rpc",
"pezsc-consensus-epochs",
"pezsc-consensus-grandpa",
"pezsc-consensus-grandpa-rpc",
"pezsc-consensus-manual-seal",
"pezsc-consensus-pow",
"pezsc-consensus-slots",
"pezsc-executor",
"pezsc-executor-common",
"pezsc-executor-polkavm",
"pezsc-executor-wasmtime",
"pezsc-informant",
"pezsc-keystore",
"pezsc-mixnet",
"pezsc-network",
"pezsc-network-common",
"pezsc-network-gossip",
"pezsc-network-light",
"pezsc-network-statement",
"pezsc-network-sync",
"pezsc-network-transactions",
"pezsc-network-types",
"pezsc-offchain",
"pezsc-proposer-metrics",
"pezsc-rpc",
"pezsc-rpc-api",
"pezsc-rpc-server",
"pezsc-rpc-spec-v2",
"pezsc-service",
"pezsc-state-db",
"pezsc-statement-store",
"pezsc-storage-monitor",
"pezsc-sync-state-rpc",
"pezsc-sysinfo",
"pezsc-telemetry",
"pezsc-tracing",
"pezsc-transaction-pool",
"pezsc-transaction-pool-api",
"pezsc-utils",
"pezsp-api",
"pezsp-blockchain",
"pezsp-consensus",
"pezsp-core",
"pezsp-core-hashing",
"pezsp-core-hashing-proc-macro",
"pezsp-database",
"pezsp-inherents",
"pezsp-io",
"pezsp-keystore",
"pezsp-maybe-compressed-blob",
"pezsp-mmr-primitives",
"pezsp-panic-handler",
"pezsp-rpc",
"pezsp-statement-store",
"pezsp-timestamp",
"pezsp-tracing",
"pezsp-transaction-storage-proof",
"pezstaging-chain-spec-builder",
"pezstaging-node-inspect",
"pezstaging-tracking-allocator",
"std",
], workspace = true, default-features = true }
# Direct dependency needed (not through umbrella due to macro visibility issues)
pezsp-runtime = { workspace = true }
# Shared code between the staging node and kitchensink runtime:
node-inspect = { optional = true, workspace = true, default-features = true }
pez-kitchensink-runtime = { workspace = true }
pez-node-primitives = { workspace = true, default-features = true }
pez-node-rpc = { workspace = true }
[dev-dependencies]
assert_cmd = { workspace = true }
criterion = { features = [
"async_tokio",
], workspace = true, default-features = true }
nix = { features = ["signal"], workspace = true }
pezsp-keyring = { workspace = true }
pretty_assertions.workspace = true
regex = { workspace = true }
scale-info = { features = [
"derive",
"serde",
], workspace = true, default-features = true }
soketto = { workspace = true }
tempfile = { workspace = true }
tokio = { features = [
"macros",
"parking_lot",
"time",
], workspace = true, default-features = true }
tokio-util = { features = ["compat"], workspace = true }
wat = { workspace = true }
# These testing-only dependencies are not exported by the Pezkuwi-SDK crate:
bizinikiwi-cli-test-utils = { workspace = true }
pez-node-testing = { workspace = true }
pezsc-service-test = { workspace = true }
[build-dependencies]
clap = { optional = true, workspace = true }
clap_complete = { optional = true, workspace = true }
node-inspect = { optional = true, workspace = true, default-features = true }
pezkuwi-sdk = { features = [
"bizinikiwi-build-script-utils",
"pezframe-benchmarking-cli",
"pezsc-cli",
"pezsc-storage-monitor",
], optional = true, workspace = true, default-features = true }
[features]
default = ["cli"]
cli = ["clap", "clap_complete", "node-inspect", "pezkuwi-sdk"]
runtime-benchmarks = [
"bizinikiwi-cli-test-utils/runtime-benchmarks",
"node-inspect?/runtime-benchmarks",
"pez-kitchensink-runtime/runtime-benchmarks",
"pez-node-primitives/runtime-benchmarks",
"pez-node-rpc/runtime-benchmarks",
"pez-node-testing/runtime-benchmarks",
"pezkuwi-sdk/runtime-benchmarks",
"pezsc-service-test/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
try-runtime = [
"bizinikiwi-cli-test-utils/try-runtime",
"pez-kitchensink-runtime/try-runtime",
"pezkuwi-sdk/try-runtime",
]