Move away from std::Path in bevy_assets
Open
A-Assets
C-Usability
D-Modest
O-Embedded
S-Ready-For-Implementation
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
> 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 https://github.com/bevyengine/bevy/pull/19070#discussion_r2073309255_
Contributor guide
Assessment
This issue has not been assessed yet.