All Projects → libcala → whoami

libcala / whoami

Licence: Apache-2.0 and 2 other licenses found Licenses found Apache-2.0 LICENSE_APACHE_2_0.txt BSL-1.0 LICENSE_BOOST_1_0.txt MIT LICENSE_MIT.txt
Rust crate to get the current user and environment.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to whoami

daemonize-me
Rust library to ease the task of creating daemons
Stars: ✭ 34 (-50%)
Mutual labels:  rust-library, rust-crate
kul
A unique textual notation that can be used as both a data format and a markup language and that has powerful extensibility of both lexical syntax and semantics, and a Rust library for parsing it.
Stars: ✭ 12 (-82.35%)
Mutual labels:  rust-library, rust-crate
twang
Library for pure Rust advanced audio synthesis.
Stars: ✭ 83 (+22.06%)
Mutual labels:  rust-library, rust-crate
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+7027.94%)
Mutual labels:  rust-library, rust-crate
poem
A full-featured and easy-to-use web framework with the Rust programming language.
Stars: ✭ 1,167 (+1616.18%)
Mutual labels:  rust-library, rust-crate
Curio
A Blazing Fast HTTP Client
Stars: ✭ 35 (-48.53%)
Mutual labels:  rust-library, rust-crate
rspark
▁▂▆▇▁▄█▁ Sparklines for Rust apps
Stars: ✭ 50 (-26.47%)
Mutual labels:  rust-library, rust-crate
trickster
user-friendly linux memory hacking library
Stars: ✭ 50 (-26.47%)
Mutual labels:  rust-library, rust-crate
gui
A generic UI library/framework.
Stars: ✭ 16 (-76.47%)
Mutual labels:  rust-library, rust-crate
webbrowser-rs
Rust library to open URLs in the web browsers available on a platform
Stars: ✭ 150 (+120.59%)
Mutual labels:  rust-library, rust-crate
rust-lcms2
ICC color profiles in Rust
Stars: ✭ 25 (-63.24%)
Mutual labels:  rust-library
imgref
A trivial Rust struct for interchange of pixel buffers with width, height & stride
Stars: ✭ 45 (-33.82%)
Mutual labels:  rust-library
e621 downloader
E621 and E926 downloader made in the Rust programming langauge.
Stars: ✭ 39 (-42.65%)
Mutual labels:  rust-library
mailparse
Rust library to parse mail files
Stars: ✭ 148 (+117.65%)
Mutual labels:  rust-library
shogi-rs
A Bitboard-based shogi library in Rust. Board representation, move generation/validation and time control utilities.
Stars: ✭ 39 (-42.65%)
Mutual labels:  rust-crate
actix-derive
[ARCHIVED] development moved into main actix repo
Stars: ✭ 38 (-44.12%)
Mutual labels:  rust-library
hosts
A command line hosts file editor in one portable script.
Stars: ✭ 145 (+113.24%)
Mutual labels:  hostname
UserFinder
OSINT tool for finding profiles by username
Stars: ✭ 379 (+457.35%)
Mutual labels:  username
type-metadata
Rust type metadata reflection library
Stars: ✭ 27 (-60.29%)
Mutual labels:  rust-library
cdc
A library for performing Content-Defined Chunking (CDC) on data streams.
Stars: ✭ 18 (-73.53%)
Mutual labels:  rust-library

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

  • Get the user's full name
  • Get the user's username
  • Get the user's preferred language(s)
  • 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, 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

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 [email protected].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].