Files
pezkuwi-sdk/bizinikiwi/primitives/api/Cargo.toml
T
pezkuwichain 65b7f5e640 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

78 lines
2.3 KiB
TOML

[package]
name = "pezsp-api"
version = "26.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Bizinikiwi runtime api primitives"
readme = "README.md"
documentation = "https://docs.rs/pezsp-api"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
docify = { workspace = true }
hash-db = { optional = true, workspace = true, default-features = true }
log = { workspace = true }
pezsp-api-proc-macro = { workspace = true }
pezsp-core = { workspace = true }
pezsp-externalities = { optional = true, workspace = true }
pezsp-metadata-ir = { optional = true, workspace = true }
pezsp-runtime = { workspace = true }
pezsp-runtime-interface = { workspace = true }
pezsp-state-machine = { optional = true, workspace = true }
pezsp-trie = { optional = true, workspace = true }
pezsp-version = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
thiserror = { optional = true, workspace = true }
[dev-dependencies]
pezsp-test-primitives = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"hash-db",
"log/std",
"pezsp-api-proc-macro/std",
"pezsp-core/std",
"pezsp-externalities",
"pezsp-externalities?/std",
"pezsp-metadata-ir?/std",
"pezsp-runtime-interface/std",
"pezsp-runtime/std",
"pezsp-state-machine/std",
"pezsp-test-primitives/std",
"pezsp-trie/std",
"pezsp-version/std",
"scale-info/std",
"thiserror",
]
# Special feature to disable logging completely.
#
# By default `pezsp-api` initializes the `RuntimeLogger` for each runtime api function. However,
# logging functionality increases the code size. It is recommended to enable this feature when
# building a runtime for registering it on chain.
#
# This sets the max logging level to `off` for `log`.
disable-logging = ["log/max_level_off"]
# Do not report the documentation in the metadata.
no-metadata-docs = ["pezsp-api-proc-macro/no-metadata-docs"]
frame-metadata = ["pezsp-metadata-ir"]
runtime-benchmarks = [
"pezsp-runtime-interface/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-state-machine?/runtime-benchmarks",
"pezsp-test-primitives/runtime-benchmarks",
"pezsp-trie?/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
]