WhoAmI Logo

Changelog | Source | Getting Started

tests GitHub commit activity GitHub contributors
Crates.io Crates.io Crates.io (recent)
Crates.io Docs.rs

Retrieve the current user and environment through simple functions.

Check out the documentation for examples.

Features

Supported Platforms

WhoAmI targets all platforms that can run Rust, including: - Linux - Windows - Mac OS - Web Assembly - BSD - Android (may partially or fully work, but untested) planned later - iOS / various game consoles planned later - Redox planned later - Fuchsia planned later - Ardaku planned later - Others? (make a PR)

MSRV

WhoAmI 1.x.y targets Rust 1.40.0 stable and later, and the 1.x.y track will be maintained until at least the release of the Rust 2024 edition.

The MSRV will only be updated on major version bumps, and version 2.0.0 will most likely target Rust 1.60.0 and later.

Binary

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

License

Licensed under any of - Apache License, Version 2.0, (LICENSEAPACHE20.txt or https://www.apache.org/licenses/LICENSE-2.0) - Boost Software License, Version 1.0, (LICENSEBOOST10.txt or https://www.boost.org/LICENSE10.txt) - MIT License, (LICENSE_MIT.txt or https://mit-license.org/)

at your option.

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 licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.