Skip to content

Commit

Permalink
fix(ffi): don't build C libraries by default
Browse files Browse the repository at this point in the history
Remove unconditional building of FFI libraries: now
that nightly supports --crate-type, it can be opted into.
This fixes cargo's pipelining both for dependencies and
for dependent crates, resulting in faster from-scratch builds.
  • Loading branch information
lqd authored and seanmonstar committed Mar 3, 2022
1 parent 055b4e7 commit 1c66370
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ include = [
#"build.rs",
]

[lib]
crate-type = ["lib", "staticlib", "cdylib"]

[dependencies]
bytes = "1"
futures-core = { version = "0.3", default-features = false }
Expand Down

0 comments on commit 1c66370

Please sign in to comment.