Skip to content

feat: restructure PCL as standalone workspace#78

Merged
mateo-mro merged 1 commit intomainfrom
mateo/feat-pcl-extraction
Apr 15, 2026
Merged

feat: restructure PCL as standalone workspace#78
mateo-mro merged 1 commit intomainfrom
mateo/feat-pcl-extraction

Conversation

@mateo-mro
Copy link
Copy Markdown
Contributor

@mateo-mro mateo-mro commented Apr 14, 2026

Summary

Restructures PCL into a self-contained Cargo workspace with its own release and dependency management.

  • Workspace with 5 crates: pcl-cli, pcl-core, pcl-common, pcl-phoundry, dapp-api-client
  • credible feature flag gates assertion execution functionality (test, verify commands)
  • Default build provides: config, auth, download, build, apply
  • --features full enables all 7 subcommands

Dependency pinning

  • phoundry pinned to rev 9289aae5 with default-features = false
  • alloy ecosystem patched to v1.1.3 via [patch.crates-io] to match phoundry
  • assertion-executor and assertion-verification optional behind credible feature

@mateo-mro mateo-mro force-pushed the mateo/feat-pcl-extraction branch 5 times, most recently from 83ff548 to 70f947a Compare April 14, 2026 12:25
Comment thread Makefile
Comment thread Makefile
@fredo
Copy link
Copy Markdown
Contributor

fredo commented Apr 14, 2026

Nit: PR is also removing the readme

@mateo-mro mateo-mro force-pushed the mateo/feat-pcl-extraction branch from 70f947a to 113af62 Compare April 14, 2026 14:43
@mateo-mro mateo-mro marked this pull request as ready for review April 14, 2026 14:52
@mateo-mro mateo-mro force-pushed the mateo/feat-pcl-extraction branch from 113af62 to bfb0e32 Compare April 14, 2026 14:54
@mateo-mro
Copy link
Copy Markdown
Contributor Author

Added README back.

@mateo-mro mateo-mro requested a review from fredo April 14, 2026 15:03
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown

@lean-apple lean-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some suggestions, can be done in follow-up prs but we should reuse our ci workflows

Comment thread .github/workflows/release.yml Outdated
Comment thread crates/dapp-api-client/build/codegen.rs
Comment thread crates/dapp-api-client/examples/api_usage.rs
Comment thread crates/pcl/cli/Cargo.toml Outdated
Comment thread crates/pcl/common/src/lib.rs
Comment thread Cargo.toml
Comment thread Makefile
@mateo-mro mateo-mro force-pushed the mateo/feat-pcl-extraction branch from bfb0e32 to 9cbc0bb Compare April 14, 2026 15:45
fredo
fredo previously approved these changes Apr 14, 2026
Move PCL into its own workspace with 5 crates:
- pcl-cli: CLI binary entry point
- pcl-core: CLI logic (auth, config, download, apply)
- pcl-common: shared types
- pcl-phoundry: Foundry/Solidity build integration
- dapp-api-client: generated platform API client

Feature structure:
- Default build: config, auth, download, build, apply (5 commands)
- `credible` feature: adds test + verify commands (requires
  assertion-executor and assertion-verification from credible-sdk)

Dependency pinning:
- phoundry deps pinned to rev 9289aae5 with default-features = false
- alloy ecosystem patched to v1.1.3 to match phoundry's versions
- credible-sdk deps (assertion-executor, assertion-verification)
  pinned to rev 3387cf96, optional behind `credible` feature
@mateo-mro mateo-mro force-pushed the mateo/feat-pcl-extraction branch from 4e89059 to 27e2fe0 Compare April 15, 2026 06:14
@lean-apple lean-apple self-requested a review April 15, 2026 07:58
@mateo-mro mateo-mro merged commit 2a1c1e7 into main Apr 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants