Skip to content

Move away from std::Path in bevy_assets #19079

Open
@alice-i-cecile

Description

@alice-i-cecile

Future PR: Cart has previously expressed a desire to move away from std::path::Path, as AssetPath shouldn't support platform-specific functionality like Windows prefixes or different path separators. AssetPath should always use str instead of Path, but that will requiring providing our own implementations for common Path operations (components, file_name, etc.).

Originally posted by @bushrat011899 in #19070 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesO-EmbeddedWeird hardware and no_std platformsS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions