Open
Description
Motivation
bevy_asset
is a key crate within Bevy that makes heavy usage of std
, making it challenging to add no_std
support to. This is a tracking issue to document what I anticipate will be a lengthy process.
End Goal
- To support some subset of
bevy_asset
onno_std
targets, such aswasm32v1-none
Tasks
Below are some particular tasks which will need to be accomplished prior to no_std
support. They are in no particular order.
- Remove or make optional
parking_lot
- Add
no_std
support toron
- Handle the following incompatible dependencies:
-
async-broadcast
-
async-fs
-
crossbeam-channel
-
futures-io
-
- Make
AssetPath
independent ofstd::path::Path
(Cart has previously expressed thatAssetPath
should always be valid UTF-8 and only use/
as its path separator, implyingstr
is a suitable backend) - Make
bevy_asset
independent ofstd::io::Error
. - Feature-gate built-in filesystem IO support (
std::fs
)
Metadata
Metadata
Assignees
Labels
Load files from disk to use for things like images, models, and soundsA new feature, making something new possibleQuite challenging from either a design or technical perspective. Ask for help!Weird hardware and no_std platformsThis issue requires design work to think about how it would best be accomplished