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

Update imports to remove all std to core #25

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

Ragarnoy
Copy link
Contributor

@Ragarnoy Ragarnoy commented Nov 8, 2024

Replaced instances of std::marker::PhantomData and std::mem::MaybeUninit with their core equivalents. This change affects various source files and examples to ensure consistency and potentially reduce dependency overhead.

This will allow no-std crates to use this crate

Fixes #24

Replaces all instances of std imports with core imports

PR Checklist

  • Tests
  • Documentation
  • Pallets, that require benchmarks, are added to scripts/assets/pallets.txt (Pallet require benchmark if it has WeightInfo config type)

Replaced instances of std::marker::PhantomData and std::mem::MaybeUninit with their core equivalents. This change affects various source files and examples to ensure consistency and potentially reduce dependency overhead.
@ozgunozerk ozgunozerk merged commit cc3a46c into ozgunozerk:main Nov 9, 2024
2 checks passed
@ozgunozerk ozgunozerk self-requested a review November 9, 2024 06:05
@ozgunozerk
Copy link
Owner

LGTM! Thanks 👍

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.

🎁 [Feature Request]: Remove all std imports
2 participants