The bevy_platform crate provides some replacements for the std library that work better on the web or with no_std, e.g. bevy::platform::time::Instant instead of std::time::Instant.
Especially for libraries it would be nice to suggest them, to increase the platform compatibility of the crate.
See e.g. zkat/big-brain#117.
The
bevy_platformcrate provides some replacements for thestdlibrary that work better on the web or withno_std, e.g.bevy::platform::time::Instantinstead ofstd::time::Instant.Especially for libraries it would be nice to suggest them, to increase the platform compatibility of the crate.
See e.g. zkat/big-brain#117.