Skip to content

Migrate forc-tracing and forc-crypto to forc monorepo#7507

Merged
JoshuaBatty merged 11 commits into
masterfrom
josh/forc_migration
Dec 9, 2025
Merged

Migrate forc-tracing and forc-crypto to forc monorepo#7507
JoshuaBatty merged 11 commits into
masterfrom
josh/forc_migration

Conversation

@JoshuaBatty

@JoshuaBatty JoshuaBatty commented Dec 9, 2025

Copy link
Copy Markdown
Member

Summary

This PR completes the sway-side of migrating forc-tracing and forc-crypto to the new forc monorepo, as outlined in RFC #49.

The corresponding forc repo PR: FuelLabs/forc#119

Changes

  • Remove forc-tracing crate from workspace (now uses crates.io 0.71.1)
  • Remove forc-crypto crate from workspace
  • Update CI to no longer build/package forc-crypto binary (it's now built from forc repo)
  • Update gh-pages workflow to install forc-crypto from forc repo for documentation generation

Distribution

Going forward, forc-crypto will be built and distributed from the forc repo by:

  • sway-nightly-binaries
  • fuelup
  • fuel.nix

Documentation

For now, documentation for all tooling will continue to live in this repo. The gh-pages workflow now pulls forc-crypto from the forc repo rather than building it locally, so docs generation continues to work as before.

@JoshuaBatty JoshuaBatty requested review from a team as code owners December 9, 2025 08:12
@cursor

cursor Bot commented Dec 9, 2025

Copy link
Copy Markdown

PR Summary

Removes the local forc-crypto and forc-tracing crates, switches to crates.io forc-tracing@0.71, and updates CI/release/docs to install/build forc-crypto from the forc repo.

  • Tooling:
    • Remove forc-plugins/forc-crypto from the workspace (delete crate and sources).
    • Replace local forc-tracing with crates.io dependency forc-tracing@0.71 (delete crate; update Cargo.toml).
  • CI/Release:
    • Stop building/stripping/packaging forc-crypto in release assets (remove from binary lists).
    • Update tag verification script to drop checks for forc-crypto/local forc-tracing and verify remaining workspace crates.
  • Docs (gh-pages):
    • Install forc-crypto from FuelLabs/forc repo instead of local path for docs generation.
  • Repo maintenance:
    • Update .github/CODEOWNERS to remove entries for deleted paths.
    • Refresh Cargo.lock to reflect dependency changes (e.g., new forc-tracing, tracing bumps, removals).

Written by Cursor Bugbot for commit 11468e0. This will update automatically on new commits. Configure here.

@JoshuaBatty JoshuaBatty self-assigned this Dec 9, 2025
@JoshuaBatty JoshuaBatty requested a review from a team December 9, 2025 08:13
@JoshuaBatty JoshuaBatty changed the title Migrate forc-tracing and forc-crypto to forc monorepo Migrate forc-tracing and forc-crypto to forc monorepo Dec 9, 2025
Comment thread .github/workflows/gh-pages.yml
@JoshuaBatty JoshuaBatty marked this pull request as ready for review December 9, 2025 10:54
@JoshuaBatty JoshuaBatty merged commit 8103f0d into master Dec 9, 2025
46 checks passed
@JoshuaBatty JoshuaBatty deleted the josh/forc_migration branch December 9, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants