Files
pezkuwi-sdk/bizinikiwi/pezframe/contracts/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

126 lines
3.9 KiB
TOML

[package]
name = "pezpallet-contracts"
version = "27.0.0"
authors.workspace = true
edition.workspace = true
build = "build.rs"
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "FRAME pezpallet for WASM contracts"
readme = "README.md"
include = ["CHANGELOG.md", "README.md", "benchmarks/**", "build.rs", "src/**/*"]
documentation = "https://docs.rs/pezpallet-contracts"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive", "max-encoded-len"], workspace = true }
impl-trait-for-tuples = { workspace = true }
log = { workspace = true }
paste = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, features = [
"derive",
], workspace = true, default-features = true }
smallvec = { features = ["const_generics"], workspace = true }
wasmi = { workspace = true }
# Only used in benchmarking to generate contract code
rand = { workspace = true }
rand_pcg = { workspace = true }
wasm-instrument = { workspace = true }
# Bizinikiwi Dependencies
environmental = { workspace = true }
pezframe-benchmarking = { optional = true, workspace = true }
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
pezpallet-balances = { optional = true, workspace = true }
pezpallet-contracts-proc-macro = { workspace = true, default-features = true }
pezpallet-contracts-uapi = { workspace = true, default-features = true }
pezsp-api = { workspace = true }
pezsp-core = { workspace = true }
pezsp-io = { workspace = true }
pezsp-runtime = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
[dev-dependencies]
array-bytes = { workspace = true, default-features = true }
assert_matches = { workspace = true }
pezpallet-contracts-fixtures = { workspace = true }
pretty_assertions = { workspace = true }
wat = { workspace = true }
# Pezkuwi Dependencies
xcm-builder = { workspace = true, default-features = true }
# Bizinikiwi Dependencies
pezpallet-balances = { workspace = true, default-features = true }
pezpallet-insecure-randomness-collective-flip = { workspace = true, default-features = true }
pezpallet-proxy = { workspace = true, default-features = true }
pezpallet-timestamp = { workspace = true, default-features = true }
pezpallet-utility = { workspace = true, default-features = true }
pezsp-keystore = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"codec/std",
"environmental/std",
"log/std",
"pezframe-benchmarking?/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-balances?/std",
"pezpallet-insecure-randomness-collective-flip/std",
"pezpallet-proxy/std",
"pezpallet-timestamp/std",
"pezpallet-utility/std",
"pezsp-api/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-keystore/std",
"pezsp-runtime/std",
"rand/std",
"scale-info/std",
"serde",
"wasm-instrument/std",
"wasmi/std",
"xcm-builder/std",
"xcm/std",
]
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-contracts-fixtures/runtime-benchmarks",
"pezpallet-insecure-randomness-collective-flip/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-insecure-randomness-collective-flip/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-utility/try-runtime",
"pezsp-runtime/try-runtime",
]