| 1 |
[package] |
| 2 |
name = "io-close" |
| 3 |
version = "0.3.7" |
| 4 |
authors = ["wufz"] |
| 5 |
edition = "2018" |
| 6 |
description = "An extension trait for safely dropping I/O writers such as File and BufWriter." |
| 7 |
license = "MIT OR Apache-2.0" |
| 8 |
repository = "https://gitlab.com/wufz/io-close" |
| 9 |
|
| 10 |
[package.metadata.docs.rs] |
| 11 |
all-features = true |
| 12 |
rustdoc-args = ["--cfg", "docsrs"] |
| 13 |
|
| 14 |
[dev-dependencies] |
| 15 |
tempfile = "3.1.0" |
| 16 |
|
| 17 |
[dependencies] |
| 18 |
# Crates used for optional trait implementations |
| 19 |
os_pipe = { version = "0.9.2", optional = true } |
| 20 |
|
| 21 |
[target."cfg(unix)".dependencies] |
| 22 |
libc = "0.2.80" |
| 23 |
|
| 24 |
[target."cfg(windows)".dependencies] |
| 25 |
winapi = { version = "0.3.9", features = ["handleapi", "std", "winsock2"] } |