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

Make serde/alloc optional #148

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

DeppLearning
Copy link

I was trying to use the no-std example code (albeit with the #[musli(with = musli::serde)] field attribute) on an actual no-std target without alloc, when I was met with a surprising amount of compile time errors due to the std library being pulled. This change fixes the issue for me.

@DeppLearning DeppLearning changed the title Make serde alloc optional Make serde/alloc optional May 17, 2024
@udoprog udoprog added the bug Something isn't working label May 17, 2024
@udoprog
Copy link
Owner

udoprog commented May 17, 2024

Thanks! That was an oversight.

@udoprog udoprog merged commit 8cef5ca into udoprog:main May 17, 2024
19 checks passed
udoprog added a commit that referenced this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants