Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 rust-version = "1.40"
15 name = "whoami"
16 version = "1.6.1"
17 build = false
18 include = [
19 "/LICENSE_APACHE",
20 "/LICENSE_BOOST",
21 "/LICENSE_MIT",
22 "/README.md",
23 "/src/*",
24 ]
25 autolib = false
26 autobins = false
27 autoexamples = false
28 autotests = false
29 autobenches = false
30 description = "Retrieve the current user and environment."
31 homepage = "https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md"
32 documentation = "https://docs.rs/whoami"
33 readme = "README.md"
34 keywords = [
35 "user",
36 "username",
37 "whoami",
38 "platform",
39 "detect",
40 ]
41 categories = [
42 "os",
43 "wasm",
44 "internationalization",
45 "localization",
46 "value-formatting",
47 ]
48 license = "Apache-2.0 OR BSL-1.0 OR MIT"
49 repository = "https://github.com/ardaku/whoami"
50
51 [features]
52 default = ["web"]
53 web = ["web-sys"]
54
55 [lib]
56 name = "whoami"
57 path = "src/lib.rs"
58
59 [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi"), not(daku)))'.dependencies.web-sys]
60 version = "0.3"
61 features = [
62 "Navigator",
63 "Document",
64 "Window",
65 "Location",
66 ]
67 optional = true
68
69 [target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.wasite]
70 version = "0.1"
71
72 [target.'cfg(all(target_os = "redox", not(target_arch = "wasm32")))'.dependencies.libredox]
73 version = "0.1.1"
74
75 [lints.rust.unexpected_cfgs]
76 level = "allow"
77 priority = 0
78 check-cfg = ["cfg(daku)"]