Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

take advantage of new workspace hierarchies to split out "sapio core" workspace from host stuff #244

Open
JeremyRubin opened this issue Oct 29, 2022 · 2 comments

Comments

@JeremyRubin
Copy link
Collaborator

No description provided.

@ProofOfKeags
Copy link
Collaborator

Is this solely for dev environment stuff or am I misunderstanding "workspace" in this context?

@JeremyRubin
Copy link
Collaborator Author

Cargo.toml can have a [workspace] and then interpret subdirectories as part of one logical target.

IIRC theres some recently improved support for having a workspace-of-workspaces.

we could split sapio into a core workspace and a non-core workspace. Core can be all the things required to author a contract, non-core can be things required to run a contract.

splitting things like this makes it much simpler to ensure that we have a minimal set of dependencies and flags set for contract authors, and can also help improve compile times when used as a submodule if you an just pull in one sub-workspace.

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

No branches or pull requests

2 participants