| 1 |
[package] |
| 2 |
|
| 3 |
name = "errno" |
| 4 |
version = "0.3.8" |
| 5 |
authors = ["Chris Wong <[email protected]>"] |
| 6 |
|
| 7 |
license = "MIT OR Apache-2.0" |
| 8 |
edition = "2018" |
| 9 |
documentation = "https://docs.rs/errno" |
| 10 |
repository = "https://github.com/lambda-fairy/rust-errno" |
| 11 |
description = "Cross-platform interface to the `errno` variable." |
| 12 |
categories = ["no-std", "os"] |
| 13 |
rust-version = "1.56" |
| 14 |
|
| 15 |
[target.'cfg(unix)'.dependencies] |
| 16 |
libc = { version = "0.2", default-features = false } |
| 17 |
|
| 18 |
[target.'cfg(windows)'.dependencies.windows-sys] |
| 19 |
version = "0.52" |
| 20 |
features = [ |
| 21 |
"Win32_Foundation", |
| 22 |
"Win32_System_Diagnostics_Debug", |
| 23 |
] |
| 24 |
|
| 25 |
[target.'cfg(target_os="wasi")'.dependencies] |
| 26 |
libc = { version = "0.2", default-features = false } |
| 27 |
|
| 28 |
[target.'cfg(target_os="hermit")'.dependencies] |
| 29 |
libc = { version = "0.2", default-features = false } |
| 30 |
|
| 31 |
[features] |
| 32 |
default = ["std"] |
| 33 |
std = ["libc/std"] |