Registry / utility / tynm
library0.2.0rscratesunverified

Returns shortened type names for Rust types, useful for debugging and logging.

# Cargo.toml [dependencies] tynm = "0.2.0"
INSTALL
IMPORT
SIG · TYNM
T
tynm
utilityrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

type_name
use tynm::type_name;

Prints the shortened type name of Vec<String>.

use tynm::type_name; let name = type_name::<Vec<String>>(); println!("{}", name);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
tynm — cargo add tynm · libregistry