Skip to content

Commit 3c936f1

Browse files
committed
fix(ffi): don't build C libraries by default
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.
1 parent 6464c0e commit 3c936f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ include = [
1919
#"build.rs",
2020
]
2121

22-
[lib]
23-
crate-type = ["lib", "staticlib", "cdylib"]
24-
2522
[dependencies]
2623
bytes = "1"
2724
futures-core = { version = "0.3", default-features = false }

0 commit comments

Comments
 (0)