Skip to content

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.

@stencillogic
Copy link
Owner

Closing, since did not hear back from the author, and the suggested changes have been implemented as part of other PR.

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