# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65" name = "whoami" version = "2.0.0-pre.0" build = false include = [ "/LICENSE_APACHE", "/LICENSE_BOOST", "/LICENSE_MIT", "/README.md", "/src/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Retrieve the current user and environment." homepage = "https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md" documentation = "https://docs.rs/whoami" readme = "README.md" keywords = [ "user", "username", "whoami", "platform", "detect", ] categories = [ "os", "wasm", "internationalization", "localization", "value-formatting", ] license = "Apache-2.0 OR BSL-1.0 OR MIT" repository = "https://github.com/ardaku/whoami" [lib] name = "whoami" path = "src/lib.rs" [features] default = ["web"] web = ["web-sys"] [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi"), not(daku)))'.dependencies.web-sys] version = "0.3" features = [ "Navigator", "Document", "Window", "Location", ] optional = true [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" [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(daku)"]