Crates.io | disqualified |
lib.rs | disqualified |
version | 1.0.0 |
source | src |
created_at | 2024-09-22 01:01:47.657785 |
updated_at | 2024-09-22 01:01:47.657785 |
description | Make rust type names more user-readable |
homepage | |
repository | https://github.com/bevyengine/disqualified |
max_upload_size | |
id | 1382651 |
size | 22,490 |
disqualified
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.
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!