aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-05-28 23:05:18 +0200
committerSimon Sapin <simon.sapin@exyr.org>2020-05-29 00:04:34 +0200
commitd4227b5b0d77a4f048648d3697c14e79584b16b8 (patch)
tree465f50beec7d1b4c1908f54d669cf8472dfcd99a /components/net/lib.rs
parentc389d7d8c01b43383a83e1036c86c60c3733177e (diff)
downloadservo-d4227b5b0d77a4f048648d3697c14e79584b16b8.tar.gz
servo-d4227b5b0d77a4f048648d3697c14e79584b16b8.zip
Remove some unused dependency declarations
This is based on compiling with `RUSTFLAGS="-W unused_crate_dependencies"` (CC https://github.com/rust-lang/rust/pull/72342) in a recent Nightly (more so than used in the tree as of this writing, CC https://github.com/servo/servo/issues/26661 for work-arounds). Only one crate is actually removed from the dependency graph, others are still dependended from other places.
Diffstat (limited to 'components/net/lib.rs')
-rw-r--r--components/net/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/lib.rs b/components/net/lib.rs
index 0fde4239692..b73965f03d5 100644
--- a/components/net/lib.rs
+++ b/components/net/lib.rs
@@ -44,3 +44,6 @@ pub mod test {
pub use crate::hosts::{parse_hostsfile, replace_host_table};
pub use crate::http_loader::HttpState;
}
+
+// This dependency gives `build.rs` access to the `DEP_OPENSSL_VERSION_NUMBER` env variable.
+use openssl_sys as _;