Retrieves information about the current user and environment, such as username, hostname, and platform.
# Cargo.toml
[dependencies]
whoami = "2.1.2"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Prints the current system username.
No known issues recorded.
No dependency data recorded yet.