-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support no_std by gating std usage on a "std" feature flag
This adds an enabled-by-default "std" cargo feature which can be selectively removed to enable no_std support. When the "std" feature is absent, feature(collections) will be enabled to provide Vec support. This requires nightly, but since "std" is enabled by default, this should have no impact on stable users.
- Loading branch information
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters