[package]
name = "errno"
version = "0.3.9"
authors = ["Chris Wong <lambda.fairy@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2018"
documentation = "https://docs.rs/errno"
repository = "https://github.com/lambda-fairy/rust-errno"
description = "Cross-platform interface to the `errno` variable."
categories = ["no-std", "os"]
rust-version = "1.56"
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", default-features = false }
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",
]
[target.'cfg(target_os="wasi")'.dependencies]
libc = { version = "0.2", default-features = false }
[target.'cfg(target_os="hermit")'.dependencies]
libc = { version = "0.2", default-features = false }
[features]
default = ["std"]
std = ["libc/std"]