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

Correctly map astro-float features to astro-float-num features #34

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

Conversation

https123456789
Copy link

This PR adjusts the features in this crate to correctly map to features in the astro-float-num crate.

The existing features for the astro-float crate don't actually enable/disable anything in the astro-float-num crate because astro-float-num is used as a dependency with default features. Thus, if a user defines a dependency on astro-float with default-features = false, astro-float-num will still build with the serde, random, and std features.

By defaulting the astro-float-num dependency to default-features = false, the use case mentioned above works as expected.

Adjusts the crates features and dependencies to correctly map a feature
in the top-level crate to features inside astro-float-num.
Additionally, support for setting `default-features=false` is added.
@stencillogic
Copy link
Owner

Thank you for the fix.

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.

2 participants