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

Split the VC into crates making it more modular #6453

Draft
wants to merge 7 commits into
base: unstable
Choose a base branch
from

Conversation

AgeManning
Copy link
Member

Modularize the VC

The VC currently is built mostly as a single module. It self-references itself making it hard to modularize its components.

This PR splits the VC into multiple sub-crates that can be imported independently making it useful to external projects, but also making the type dependencies cleaner and the code more logically grouped.

@AgeManning
Copy link
Member Author

I modified the general config, to include some sub-configs (It was required in order to split up dependencies and avoid circular ones).

The only thing I can really foresee potentially breaking is serializing and de-serializing the validator config. I'm flattening the new inner configs, so I think it should behave the same, but I've not tested it.

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.

1 participant