1 stable release

1.0.0 Sep 22, 2024

#98 in Memory management

Download history 3707/week @ 2024-11-16 4032/week @ 2024-11-23 13240/week @ 2024-11-30 10047/week @ 2024-12-07 10225/week @ 2024-12-14 8297/week @ 2024-12-21 10603/week @ 2024-12-28 12956/week @ 2025-01-04 13302/week @ 2025-01-11 14269/week @ 2025-01-18 11138/week @ 2025-01-25 13272/week @ 2025-02-01 15145/week @ 2025-02-08 12460/week @ 2025-02-15 17920/week @ 2025-02-22 15849/week @ 2025-03-01

63,537 downloads per month
Used in 613 crates (10 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