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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user