| 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.71" |
| 15 |
name = "dns-lookup" |
| 16 |
version = "4.0.1" |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"src/**", |
| 20 |
"README.md", |
| 21 |
"LICENSE*", |
| 22 |
"Cargo.*", |
| 23 |
] |
| 24 |
autolib = false |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "A simple dns resolving api, much like rust's unstable api. Also includes getaddrinfo and getnameinfo wrappers for libc variants." |
| 30 |
documentation = "https://docs.rs/dns-lookup" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"dns", |
| 34 |
"resolve", |
| 35 |
"lookup", |
| 36 |
"getaddrinfo", |
| 37 |
"getnameinfo", |
| 38 |
] |
| 39 |
license = "MIT OR Apache-2.0" |
| 40 |
repository = "https://github.com/keeperofdakeys/dns-lookup/" |
| 41 |
|
| 42 |
[lib] |
| 43 |
name = "dns_lookup" |
| 44 |
path = "src/lib.rs" |
| 45 |
|
| 46 |
[dependencies.cfg-if] |
| 47 |
version = "^1.0" |
| 48 |
|
| 49 |
[dependencies.socket2] |
| 50 |
version = "^0.6.0" |
| 51 |
|
| 52 |
[target."cfg(unix)".dependencies.libc] |
| 53 |
version = "^0.2" |
| 54 |
|
| 55 |
[target."cfg(windows)".dependencies.windows-sys] |
| 56 |
version = ">=0.60, <0.62" |
| 57 |
features = [ |
| 58 |
"Win32_Networking_WinSock", |
| 59 |
"Win32_Foundation", |
| 60 |
] |