summaryrefslogtreecommitdiffstats
path: root/vendor/io-lifetimes/Cargo.toml
blob: babd3fc4c1c767e3963874cbd9f364d38426e00b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "io-lifetimes"
version = "1.0.2"
authors = ["Dan Gohman <dev@sunfishcode.online>"]
include = [
    "src",
    "build.rs",
    "Cargo.toml",
    "COPYRIGHT",
    "LICENSE*",
    "/*.md",
]
description = "A low-level I/O ownership and borrowing library"
readme = "README.md"
keywords = [
    "api",
    "io",
]
categories = [
    "os",
    "rust-patterns",
]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/sunfishcode/io-lifetimes"

[dependencies.fs-err]
version = "2.6.0"
optional = true

[features]
close = [
    "libc",
    "windows-sys",
]
default = ["close"]

[target."cfg(not(target_os = \"wasi\"))".dependencies.async-std]
version = "1.12.0"
optional = true

[target."cfg(not(target_os = \"wasi\"))".dependencies.mio]
version = "0.8.0"
features = [
    "net",
    "os-ext",
]
optional = true

[target."cfg(not(target_os = \"wasi\"))".dependencies.os_pipe]
version = "1.0.0"
features = ["io_safety"]
optional = true

[target."cfg(not(target_os = \"wasi\"))".dependencies.socket2]
version = "0.4.0"
optional = true

[target."cfg(not(target_os = \"wasi\"))".dependencies.tokio]
version = "1.6.0"
features = [
    "io-std",
    "fs",
    "net",
    "process",
]
optional = true

[target."cfg(not(windows))".dependencies.libc]
version = "0.2.96"
optional = true

[target."cfg(windows)".dependencies.windows-sys]
version = "0.42.0"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_System_IO",
    "Win32_System_Threading",
]
optional = true