chore: break circular dev-dependencies for crates.io publish

- Remove circular dev-deps from pezframe-support-procedural
- Remove circular dev-deps from pezframe-support
- Remove circular dev-deps from pezframe-system
- Remove circular dev-deps from pezframe-benchmarking
- Comments note that tests moved to integration test crates
This commit is contained in:
2025-12-28 11:16:17 +03:00
parent 9da261d069
commit 654b53c91e
5 changed files with 10 additions and 53 deletions
@@ -18,8 +18,10 @@ targets = ["x86_64-unknown-linux-gnu"]
[lib]
proc-macro = true
[[example]]
name = "proc_main"
# Example requires pezframe-support/pezframe-system which creates circular dependency
# Tests moved to pezframe-support-test crate
# [[example]]
# name = "proc_main"
[dependencies]
Inflector = { workspace = true }
@@ -36,36 +38,16 @@ proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { features = ["full", "parsing", "visit-mut"], workspace = true }
# Dev-dependencies moved to pezframe-support-test to break circular dependency for crates.io publish
# Tests that need pezframe-benchmarking, pezframe-support, pezframe-system should use integration tests
[dev-dependencies]
codec = { features = [
"derive",
"max-encoded-len",
], workspace = true, default-features = true }
pezframe-benchmarking = { workspace = true, default-features = true }
pezframe-support = { workspace = true, default-features = true }
pezframe-system = { workspace = true, default-features = true }
pezsp-io = { workspace = true, default-features = true }
pezsp-metadata-ir = { workspace = true, default-features = true }
pezsp-runtime = { features = [
"serde",
], workspace = true, default-features = true }
pretty_assertions = { workspace = true }
regex = { workspace = true }
scale-info = { features = [
"derive",
], workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezframe-benchmarking/std",
"pezframe-support/std",
"pezframe-system/std",
"pezsp-crypto-hashing/std",
"pezsp-metadata-ir/std",
"pezsp-runtime/std",
"scale-info/std",
]
no-metadata-docs = []
experimental = []
@@ -73,10 +55,4 @@ experimental = []
# pallets in a runtime grows. Does increase the compile time!
tuples-96 = []
tuples-128 = []
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
runtime-benchmarks = []