fix: resolve CI failures in pezkuwi-subxt-metadata no_std and pezsp-api doc-tests
- Replace thiserror::Error derive with manual Display + core::error::Error impl in pezkuwi-subxt-metadata TryFromError, fixing no_std compilation (thiserror v1 does not support no_std) - Add pezsp-test-primitives as dev-dependency to pezsp-api, fixing 3 failing doc-tests that import pezsp_test_primitives::Block - Revert unnecessary features=["std"] on workspace pezkuwi-subxt-metadata dep - Apply taplo formatting to changed Cargo.toml files
This commit is contained in:
@@ -36,21 +36,21 @@ thiserror = { optional = true, 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-trie/std",
|
||||
"pezsp-version/std",
|
||||
"scale-info/std",
|
||||
"thiserror",
|
||||
"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-trie/std",
|
||||
"pezsp-version/std",
|
||||
"scale-info/std",
|
||||
"thiserror",
|
||||
]
|
||||
# Special feature to disable logging completely.
|
||||
#
|
||||
@@ -64,11 +64,14 @@ disable-logging = ["log/max_level_off"]
|
||||
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-trie?/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = ["pezsp-runtime/try-runtime", "pezsp-version/try-runtime"]
|
||||
serde = []
|
||||
|
||||
[dev-dependencies]
|
||||
pezsp-test-primitives = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user