[package] edition = "2021" name = "errno-no-std" version = "0.2.2" rust-version = "1.71" authors = ["warlock "] description = "Cross-platform interface to the `errno` variable." readme = "README.md" documentation = "https://docs.rs/errno-no-std/" keywords = ["errno", "no_std", "unix", "windows", "linux"] categories = ["os", "no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/A1-Triard/errno-no-std" [lints.rust] unexpected_cfgs = { level = "allow" } [features] default = ["std"] ## disable to make the library `#![no_std]`. std = [] [dependencies] document-features = "0.2.7" [target.'cfg(all(not(windows), not(custom_errno)))'.dependencies] errno-sys = "0.2.0" libc = { version = "0.2.124", default-features = false } [target.'cfg(all(windows, not(custom_errno)))'.dependencies] widestring = { version = "1.0.0", default-features = false } winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase"] } [dev-dependencies] copy_from_str = "1.0.5" quickcheck = "1.0.3" quickcheck_macros = "1.0.0" [badges] maintenance = { status = "actively-developed" }