1 | [package] |
2 | name = "socket2" |
3 | version = "0.4.10" |
4 | authors = [ |
5 | "Alex Crichton <alex@alexcrichton.com>" , |
6 | "Thomas de Zeeuw <thomasdezeeuw@gmail.com>" |
7 | ] |
8 | license = "MIT OR Apache-2.0" |
9 | readme = "README.md" |
10 | repository = "https://github.com/rust-lang/socket2" |
11 | homepage = "https://github.com/rust-lang/socket2" |
12 | documentation = "https://docs.rs/socket2" |
13 | description = "" " |
14 | Utilities for handling networking sockets with a maximal amount of configuration |
15 | possible intended. |
16 | " "" |
17 | keywords = ["io" , "socket" , "network" ] |
18 | categories = ["api-bindings" , "network-programming" ] |
19 | edition = "2018" |
20 | include = [ |
21 | "Cargo.toml" , |
22 | "LICENSE-APACHE" , |
23 | "LICENSE-MIT" , |
24 | "README.md" , |
25 | "src/**/*.rs" , |
26 | ] |
27 | |
28 | [package.metadata.docs.rs] |
29 | all-features = true |
30 | rustdoc-args = ["--cfg" , "docsrs" ] |
31 | |
32 | [package.metadata.playground] |
33 | features = ["all" ] |
34 | |
35 | [target."cfg(unix)".dependencies] |
36 | libc = "0.2.149" |
37 | |
38 | [target."cfg(windows)".dependencies] |
39 | winapi = { version = "0.3.9" , features = ["handleapi" , "ws2ipdef" , "ws2tcpip" ] } |
40 | |
41 | [features] |
42 | # Enable all API, even ones not available on all OSs. |
43 | all = [] |
44 | |