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

Don't enable bitvec when "std" feature is enabled #167

Closed
jsdw opened this issue Sep 12, 2022 · 0 comments · Fixed by #168
Closed

Don't enable bitvec when "std" feature is enabled #167

jsdw opened this issue Sep 12, 2022 · 0 comments · Fixed by #168

Comments

@jsdw
Copy link
Contributor

jsdw commented Sep 12, 2022

Currently we have:

std = [
    "bitvec/std",
    "scale/std",
]

As the std feature in Cargo.toml. Enabling it enables bitvec too.

Let's swap to:

std = [
    "bitvec?/std",
    "scale/std",
]

To avoid enabling bitvec unless it's also asked for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant