We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fcfe1f commit 27c21baCopy full SHA for 27c21ba
Cargo.toml
@@ -19,9 +19,6 @@ include = [
19
#"build.rs",
20
]
21
22
-[lib]
23
-crate-type = ["lib", "staticlib", "cdylib"]
24
-
25
[dependencies]
26
bytes = "1"
27
futures-core = { version = "0.3", default-features = false }
src/lib.rs
@@ -5,6 +5,8 @@
5
#![cfg_attr(test, deny(warnings))]
6
#![cfg_attr(all(test, feature = "nightly"), feature(test))]
7
#![cfg_attr(docsrs, feature(doc_cfg))]
8
+#![cfg_attr(hyper_unstable_ffi, crate_type = "cdylib")]
9
+#![cfg_attr(hyper_unstable_ffi, allow(unknown_lints, deprecated_cfg_attr_crate_type_name))]
10
11
//! # hyper
12
//!
0 commit comments