You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A project i'm writing is replacing it's std feature with an alloc one,
but uuid only documents std and no_std support.
Describe the solution you'd like
An alloc feature to be added, depending only on stuff in alloc. Or, if the existing std support actually only depends on alloc, for it to be renamed.
Is it blocking?
Kind of?
Describe alternatives you've considered
Just use normal no_std uuid
Additional context
Documentation of uuid's no_std support seems kind of lacking?, so it's unclear to me what functionality is missing without std/alloc support? It's possible this wouldn't even be useful?
Other
The v3 uuid feature depends on the md5 crate, which itself offers a no_std mode, but defaults to std. Uuid does not disable it's default features.
v4(getrandom) and v5(sha1) are always no_std by default, though.
The alloc crate is stable since Rust 1.36
The text was updated successfully, but these errors were encountered:
In #528 I added some more embedded CI support that ensures the v1, v3, v5, and serde features will build on an embedded target. That just makes sure we don't accidentally pull in std in any of our dependencies.
I've also added some docs on how to build uuid for no-std targets. I think that should just about cover it for this on 🙂
Is your feature request related to a problem? Please describe.
A project i'm writing is replacing it's std feature with an alloc one,
but uuid only documents std and no_std support.
Describe the solution you'd like
An alloc feature to be added, depending only on stuff in
alloc
. Or, if the existing std support actually only depends on alloc, for it to be renamed.Is it blocking?
Kind of?
Describe alternatives you've considered
Just use normal no_std uuid
Additional context
Documentation of uuid's no_std support seems kind of lacking?, so it's unclear to me what functionality is missing without std/alloc support? It's possible this wouldn't even be useful?
Other
The v3 uuid feature depends on the
md5
crate, which itself offers a no_std mode, but defaults tostd
. Uuid does not disable it's default features.v4(
getrandom
) and v5(sha1
) are always no_std by default, though.The
alloc
crate is stable since Rust 1.36The text was updated successfully, but these errors were encountered: