[features]
default = ["web"]
web = ["web-sys"]
[lib]
name = "whoami"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(daku)"]
level = "allow"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["os", "wasm", "internationalization", "localization", "value-formatting"]
description = "Retrieve the current user and environment."
documentation = "https://docs.rs/whoami"
edition = "2018"
homepage = "https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md"
include = ["/LICENSE_APACHE", "/LICENSE_BOOST", "/LICENSE_MIT", "/README.md", "/src/*"]
keywords = ["user", "username", "whoami", "platform", "detect"]
license = "Apache-2.0 OR BSL-1.0 OR MIT"
name = "whoami"
readme = "README.md"
repository = "https://github.com/ardaku/whoami"
rust-version = "1.40"
version = "1.5.2"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi"), not(daku)))'.dependencies.web-sys]
features = ["Navigator", "Document", "Window", "Location"]
optional = true
version = "0.3"
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.wasite]
version = "0.1"
[target.'cfg(all(target_os = "redox", not(target_arch = "wasm32")))'.dependencies.redox_syscall]
version = "0.5"