bevy/tools
Alice Cecile 8f721d8d0a Move get_short_name utility method from bevy_reflect into bevy_utils (#5174)
# Summary

This method strips a long type name like `bevy::render:📷:PerspectiveCameraBundle` down into the bare type name (`PerspectiveCameraBundle`). This is generally useful utility method, needed by #4299 and #5121.

As a result:

- This method was moved to `bevy_utils` for easier reuse.
- The legibility and robustness of this method has been significantly improved.
- Harder test cases have been added.

This change was split out of #4299 to unblock it and make merging / reviewing the rest of those changes easier.

## Changelog

- added `bevy_utils::get_short_name`, which strips the path from a type name for convenient display.
- removed the `TypeRegistry::get_short_name` method. Use the function in `bevy_utils` instead.
2022-07-02 18:30:45 +00:00
..
build-example-pages Examples metadata in Cargo.toml (#4741) 2022-06-25 20:23:24 +00:00
build-wasm-example Update clap to 3.2 in tools using value_parser (#5031) 2022-06-20 18:04:29 +00:00
ci Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
spancmp Move get_short_name utility method from bevy_reflect into bevy_utils (#5174) 2022-07-02 18:30:45 +00:00
example_showcase.sh Small script fix (#2591) 2021-08-13 21:57:23 +00:00
publish.sh Generate vertex tangents using mikktspace (#3872) 2022-05-31 22:53:54 +00:00