1 stable release

1.0.0 Sep 22, 2024

#120 in Memory management

Download history 1592/week @ 2024-09-19 5995/week @ 2024-09-26 6766/week @ 2024-10-03 4379/week @ 2024-10-10 3131/week @ 2024-10-17 3443/week @ 2024-10-24 4002/week @ 2024-10-31 4704/week @ 2024-11-07 3509/week @ 2024-11-14

16,177 downloads per month

MIT/Apache

10KB
157 lines

disqualified

License Crates.io Downloads Docs

Lazily shortens a type name to remove all module paths. The short name of a type is its full name as returned by core::any::type_name, but with the prefix of all paths removed. For example, the short name of alloc::vec::Vec<core::option::Option<u32>> would be Vec<Option<u32>>. Shortening is performed lazily without allocation.

Contributing

This crate is maintained by the Bevy organization, and is intended to be tiny, stable, zero-dependency, and broadly useful. Issues and pull requests are genuinely welcome!

No runtime deps

Features