| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.56" |
| 15 |
name = "errno" |
| 16 |
version = "0.3.14" |
| 17 |
authors = [ |
| 18 |
"Chris Wong <[email protected]>", |
| 19 |
"Dan Gohman <[email protected]>", |
| 20 |
] |
| 21 |
build = false |
| 22 |
autolib = false |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = "Cross-platform interface to the `errno` variable." |
| 28 |
documentation = "https://docs.rs/errno" |
| 29 |
readme = "README.md" |
| 30 |
categories = [ |
| 31 |
"no-std", |
| 32 |
"os", |
| 33 |
] |
| 34 |
license = "MIT OR Apache-2.0" |
| 35 |
repository = "https://github.com/lambda-fairy/rust-errno" |
| 36 |
|
| 37 |
[features] |
| 38 |
default = ["std"] |
| 39 |
std = ["libc/std"] |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "errno" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[target.'cfg(target_os="hermit")'.dependencies.libc] |
| 46 |
version = "0.2" |
| 47 |
default-features = false |
| 48 |
|
| 49 |
[target.'cfg(target_os="wasi")'.dependencies.libc] |
| 50 |
version = "0.2" |
| 51 |
default-features = false |
| 52 |
|
| 53 |
[target."cfg(unix)".dependencies.libc] |
| 54 |
version = "0.2" |
| 55 |
default-features = false |
| 56 |
|
| 57 |
[lints.rust.unexpected_cfgs] |
| 58 |
level = "warn" |
| 59 |
priority = 0 |
| 60 |
check-cfg = ['cfg(target_os, values("cygwin"))'] |