File: Cargo.toml.orig

package info (click to toggle)
rust-gethostname 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 116 kB
  • sloc: sh: 38; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "gethostname"
description = "gethostname for all platforms"
readme = "README.md"
homepage = "https://github.com/lunaryorn/gethostname.rs"
repository = "https://github.com/lunaryorn/gethostname.rs.git"
documentation = "https://docs.rs/gethostname"
version = "0.2.1"
authors = ["Sebastian Wiesner <sebastian@swsnr.de>"]
edition = "2018"
license = "Apache-2.0"
keywords = ["gethostname", "DNS", "hostname"]
categories = ["os", "api-bindings"]

[dev-dependencies]
pretty_assertions = "^0.6.1"

[target.'cfg(not(windows))'.dependencies]
libc = "^0.2"

[target.'cfg(windows)'.dependencies]
winapi = {version = "^0.3", features = ["sysinfoapi"]}