[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", ]