Skip to content

no_std feature is backwards: a use_std feature should be used, which is part of the default features #29

Closed
@burtonageo

Description

@burtonageo

Cargo features are supposed to be additive, which means the current no_std feature is backwards. This is an issue if you're writing a library, because there is currently no way to pass a negative switch (e.g. if I have a use_std flag, there is no way to say 'enable the no_std flag if it's not enabled.

The current system should be switched, so that there is a use_std feature, which is enabled in the default features.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions