Skip to content

Commit 995901c

Browse files
committed
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.
1 parent 2eb51c6 commit 995901c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ optional = true
4949
features = ["into_bits"]
5050

5151
[target.'cfg(unix)'.dependencies]
52-
libc = { version = "0.2", optional = true }
52+
libc = { version = "0.2", optional = true, default-features = false }
5353

5454
[target.'cfg(windows)'.dependencies]
5555
winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "profileapi", "winnt"], optional = true }

0 commit comments

Comments
 (0)