[go: up one dir, main page]

whoami 1.0.1

Retrieve the current user and environment.
Documentation

WhoAmI Logo

WhoAmI

tests docs crates.io

About | Source | Changelog

Retrieve the current user and environment through simple functions.

Check out the documentation for examples.

Features

  • Get the user's full name
  • Get the user's username
  • Get the devices's hostname
  • Get the devices's "pretty" or "fancy" name
  • Get the devices's desktop environment
  • Get the devices's OS name and version
  • Get the devices's platform name

Supported Platforms

WhoAmI targets all platforms that can run Rust:

  • Linux
  • Windows
  • Mac OS
  • Web Assembly
  • BSD
  • Android (may partially or fully work, but untested) planned next
  • iOS / various game consoles planned later

Binary

whome: whoami command RiR (Re-written in Rust) that depends on this crate.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.