Skip to content

Update lib.rs to make it no_std-friendly #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brvtalcake
Copy link

Since everything happen in overloadf_derive (and especially since it already expands to core::ops::Fn* implementations and not to std ones), there is no point keeping no-std environments away from this cool crate. Although I'm still a fairly new beginner to Rust, I don't think two lines of public re-exports would break with a little innocent #![no_std] right ? (Or is there still some stuff expanding to std calls that I didn't see ?)

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