-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
33 lines (26 loc) · 837 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[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"]