Skip to content

Suggest using things from bevy_platform instead of std where available #432

@TimJentzsch

Description

@TimJentzsch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinterRelated to the linter and custom lintsC-FeatureMake something new possibleD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions