summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-28 13:49:19 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-30 08:29:28 -0400
commitd8d5c421c33b1cc5416ff87f6a7c3837e5176d4d (patch)
treee43b4ae5a48f465d54f6d229f0edde131d84823c /src/main.rs
parent11896647e6a31122ee8c015e2cc6093e448029d6 (diff)
Support https imports.
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a43f62642..e4a756654 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,12 +4,13 @@ extern crate hyper;
extern crate libc;
extern crate msg_rs as msg_generated;
extern crate rand;
-extern crate sha1;
extern crate tempfile;
extern crate tokio;
extern crate url;
#[macro_use]
extern crate log;
+extern crate hyper_rustls;
+extern crate ring;
mod binding;
mod deno_dir;