Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test PR #1

Open
wants to merge 5 commits into
base: v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "whoami"
version = "1.5.0-pre.0"
version = "1.4.1"
edition = "2018"
license = "Apache-2.0 OR BSL-1.0 OR MIT"
documentation = "https://docs.rs/whoami"
Expand Down Expand Up @@ -37,6 +37,9 @@ optional = true
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.wasite]
version = "0.1"

[target.'cfg(unix)'.dependencies]
nix = { version = "0.28.0", features = ["hostname", "user"] }

[features]
default = ["web"]
# Enabling this feature indicates that the wasm32-unknown-unknown target should
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ WhoAmI targets all platforms that can run Rust, including:
- Web Browser - DOM
- WASI (Wasite, others) **may partially or fully work - but untested**
- Daku (Ardaku/Quantii, others) **mock implementation, full implementation planned later**
- Illumos variants (SmartOS, OmniOS, others) **may partially or fully work - but untested**
- illumos variants (SmartOS, OmniOS, others) **may partially or fully work - but untested**
- Android **may partially or fully work - but untested, planned later**
- iOS **planned later**
- Redox **planned later**
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ pub enum DesktopEnv {
Lxde,
/// Stacking window manager for X Windows on Linux
Openbox,
/// Desktop environment for Linux, BSD and Illumos
/// Desktop environment for Linux, BSD and illumos
Mate,
/// Lightweight desktop enivornment for unix-like operating systems
Xfce,
Expand Down Expand Up @@ -279,7 +279,7 @@ impl Display for Platform {
Self::Bsd => "BSD",
Self::Windows => "Windows",
Self::MacOS => "Mac OS",
Self::Illumos => "Illumos",
Self::Illumos => "illumos",
Self::Ios => "iOS",
Self::Android => "Android",
Self::Nintendo => "Nintendo",
Expand Down
Loading
Loading