1 stable release

1.0.0 Sep 22, 2024

#106 in Memory management

Download history 2087/week @ 2024-09-20 6215/week @ 2024-09-27 6549/week @ 2024-10-04 4188/week @ 2024-10-11 3263/week @ 2024-10-18 3494/week @ 2024-10-25 3988/week @ 2024-11-01 4691/week @ 2024-11-08 3366/week @ 2024-11-15 4048/week @ 2024-11-22 12541/week @ 2024-11-29 10272/week @ 2024-12-06 10119/week @ 2024-12-13 8646/week @ 2024-12-20

41,985 downloads per month
Used in 451 crates (8 directly)

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