use std by default #130
No reviewers
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid!130
Loading…
Reference in a new issue
No description provided.
Delete branch "default-std"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #123
documentation still needs to be updated
Edit: done
@ -26,12 +26,10 @@//!nit: We could probably just say
stdinstead oflibstd.We can probably just remove
stdfrom this list, since we're implying that you need to enable these features to get functionality,@ -104,3 +109,3 @@#![deny(warnings)]#![no_std]#![cfg_attr(not(feature = "std"), no_std)]I don't think this will work when compiling with
no_std. Instead we might need to do something like:EDIT: Nevermind, you fixed it already 👍
@ -104,3 +109,3 @@#![deny(warnings)]#![no_std]#![cfg_attr(not(feature = "std"), no_std)]Actually, let's try and sort out our
stdfeatures. Right now, if you specify--no-default-features --features serdeyou'll get a compile error from duplicate uses ofcore.We never need anything from
serdethat usesstdthough, so we could specify it in ourCargo.tomlas:And then include core in
lib.rsas:Then
no_stdusers can useuuidwithserde.@KodrAus this should ready to go unless you any more nitpicks :)
Thanks @kinggoesgaming! Just one more comment:
We can change the attribute pulling in the
std_supportmodule to only require thestdfeature instead of also includingserde.@KodrAus done
This looks good to me!
bors r+
Build succeeded