Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport no_std builds #10
Conversation
This comment has been minimized.
This comment has been minimized.
|
r? @SimonSapin Note: The |
This comment has been minimized.
This comment has been minimized.
CAD97
commented
Jul 24, 2018
|
I don't think you can |
This comment has been minimized.
This comment has been minimized.
Hmm, good point. We could make the trait private when the feature is disabled, and only provide the top-level functions, or we could make a breaking change and split it into two traits. |
mbrubeck
added some commits
Jul 24, 2018
mbrubeck
force-pushed the
mbrubeck:no_std
branch
from
2ea9fed
to
0213bf4
Jul 24, 2018
This comment has been minimized.
This comment has been minimized.
I implemented this for now, as it is simple and backward-compatible. This reduces the API for |
mbrubeck commentedJul 24, 2018
This adds two features, both enabled by default:
normalization- enables thecanonical_caseless_matchandcompatibility_caseless_matchmethods, which require theunicode_normalizationcrate.alloc- enables thedefault_case_fold_strconvenience method,which requires allocating a
String.Disabling both these features allows use of this crate for case folding in
no_stdprograms.