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

Reorganize crate exports #53

Merged
merged 6 commits into from
Jan 7, 2025
Merged

Reorganize crate exports #53

merged 6 commits into from
Jan 7, 2025

Conversation

soareschen
Copy link
Collaborator

@soareschen soareschen commented Jan 7, 2025

This PR re-organize the exports of various CGP crates, to make them more resistant to breaking changes and allows them to be used in no-alloc no-std environments.

  • Move generic error providers to the cgp-error-extra crate.
  • Add an alloc feature to cgp-error-extra to enable use of alloc in providers.
  • Make private the sub-modules inside CGP crates.
  • Explicitly export module items instead of using *.

@soareschen soareschen merged commit 454a34b into main Jan 7, 2025
5 checks passed
@soareschen soareschen deleted the exports-reorg branch January 7, 2025 13:54
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