From 995901c6e4b20655d1a9d4a3c999785ea4a1591b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 19 Nov 2018 21:58:17 -0800 Subject: [PATCH] Disable default features of `libc` No need for it to be activated as `std` isn't a necessary dependency! Should help out with `no_std` projects in some situations. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c44675ed4bb..628e5700566 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ optional = true features = ["into_bits"] [target.'cfg(unix)'.dependencies] -libc = { version = "0.2", optional = true } +libc = { version = "0.2", optional = true, default-features = false } [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "profileapi", "winnt"], optional = true }