mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
## Summary - Feature-gate `frame-benchmarking-cli` behind `runtime-benchmarks` feature, making it an optional dependency - Remove unused `cumulus-client-service` workspace dependency - Remove unused `storage-hub-runtime` workspace dependency - Add `#[cfg(feature = "runtime-benchmarks")]` guards to benchmark-related code ## Motivation The `frame-benchmarking-cli` crate pulls in `cumulus-client-parachain-inherent` and other cumulus dependencies transitively. Since DataHaven is a solochain (not a parachain), these dependencies are unnecessary for regular builds. By making the benchmarking CLI optional and only compiling it when the `runtime-benchmarks` feature is enabled, we reduce: - Compile time for regular development builds - Final binary size (when not benchmarking) - Dependency tree complexity Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| README.md | ||
Release
Polkadot SDK stable2412