Debian Codegraph @

debian/rust-vendor/hostname/Cargo.toml

raw
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 = "2021"
14 rust-version = "1.74"
15 name = "hostname"
16 version = "0.4.2"
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "Cross-platform system's host name functions"
24 readme = "README.md"
25 keywords = [
26 "hostname",
27 "gethostname",
28 "sethostname",
29 ]
30 categories = [
31 "api-bindings",
32 "os",
33 ]
34 license = "MIT"
35 repository = "https://github.com/djc/hostname"
36
37 [package.metadata.docs.rs]
38 features = ["set"]
39 rustdoc-args = [
40 "--cfg",
41 "docsrs",
42 ]
43
44 [features]
45 default = []
46 set = []
47
48 [lib]
49 name = "hostname"
50 path = "src/lib.rs"
51
52 [[example]]
53 name = "hostname"
54 path = "examples/hostname.rs"
55
56 [[test]]
57 name = "codegen"
58 path = "tests/codegen.rs"
59
60 [[test]]
61 name = "version"
62 path = "tests/version.rs"
63
64 [dependencies.cfg-if]
65 version = "1"
66
67 [dev-dependencies.similar-asserts]
68 version = "1.6.1"
69
70 [dev-dependencies.version-sync]
71 version = "0.9"
72
73 [dev-dependencies.windows-bindgen]
74 version = "0.65"
75
76 [target.'cfg(any(unix, target_os = "redox"))'.dependencies.libc]
77 version = "0.2"
78
79 [target.'cfg(target_os = "windows")'.dependencies.windows-link]
80 version = "0.2"