Skip to content

feat(devops): cargo workspace with xtask-driven wasm build ordering (… - #155

Merged
dami-005 merged 2 commits into
Zenith-options:mainfrom
mikelmonie:devops/cargo-workspace-xtask
Sep 30, 2026
Merged

dami-005 merged 2 commits into
Zenith-options:mainfrom
mikelmonie:devops/cargo-workspace-xtask

Conversation

@mikelmonie

Copy link
Copy Markdown

Closes #119
Closes #116
Closes #118
Closes #117

…enith-options#119)

Consolidate all crates into one Cargo workspace with a shared
[profile.release] and workspace.dependencies (soroban-sdk 21.7.7).

Add cargo xtask (build, test, clippy, fmt, graph, check-imports,
check-wasm, ci). Crates declare the contract wasm they contractimport!
in [package.metadata.zenith] wasm-deps; xtask builds it in topological
order into the shared target/. Each contract's wasm is built with its
own -p invocation, and check-wasm verifies no testutils/host code is
linked into release wasm.

CI jobs now just call xtask, with no per-crate build chains. README
build section reduced to a few commands. spec-diff check.sh supports
both the old per-crate layout and the workspace.

Also restores timelock/Cargo.toml, which was committed empty.
@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@mikelmonie Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

…ace-xtask

# Conflicts:
#	.github/workflows/ci.yml
#	README.md
#	options_market/Cargo.toml
#	price_oracle/Cargo.toml
#	streams/Cargo.toml
#	tools/spec-diff/check.sh
@dami-005
dami-005 merged commit e898201 into Zenith-options:main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants