From 1c6637060e36654ddb2fdfccb0d146c7ad527476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Rakic?= Date: Sat, 26 Feb 2022 03:04:19 +0100 Subject: [PATCH] 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. --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f2ee5efe..e87137f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,9 +19,6 @@ include = [ #"build.rs", ] -[lib] -crate-type = ["lib", "staticlib", "cdylib"] - [dependencies] bytes = "1" futures-core = { version = "0.3", default-features = false }