Skip to content

Commit 1ba5fce

Browse files
authored
Merge pull request #206 from alexcrichton/fix-optional-build
Move `libc` back to a non-optional dependency
2 parents 6dd9602 + b00caf4 commit 1ba5fce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ streams.
2020
members = ['systest']
2121

2222
[dependencies]
23-
libc = { version = "0.2", optional = true }
23+
libc = "0.2"
2424
miniz-sys = { path = "miniz-sys", version = "0.1.11", optional = true }
2525
libz-sys = { version = "1.0", optional = true }
2626
tokio-io = { version = "0.1.11", optional = true }
@@ -40,8 +40,8 @@ tokio-threadpool = "0.1.10"
4040
futures = "0.1"
4141

4242
[features]
43-
default = ["miniz-sys", "libc"]
44-
zlib = ["libz-sys", "libc"]
43+
default = ["miniz-sys"]
44+
zlib = ["libz-sys"]
4545
rust_backend = ["miniz_oxide"]
4646
tokio = ["tokio-io", "futures"]
4747

0 commit comments

Comments
 (0)