comparison rust/src/main.rs @ 626:efcbe0d3afd6 rust

fix to work with hyper
author Matt Johnston <matt@ucc.asn.au>
date Wed, 06 Dec 2017 00:09:45 +0800
parents 2710649ab71e
children d5075136442f
comparison
equal deleted inserted replaced
625:8152ef251dbb 626:efcbe0d3afd6
3 #[macro_use] 3 #[macro_use]
4 extern crate log; 4 extern crate log;
5 extern crate env_logger; 5 extern crate env_logger;
6 extern crate rustc_serialize; 6 extern crate rustc_serialize;
7 extern crate time; 7 extern crate time;
8 extern crate tokio_curl;
9 extern crate curl;
10 extern crate serde_json; 8 extern crate serde_json;
11 extern crate libc; 9 extern crate libc;
12 extern crate atomicwrites; 10 extern crate atomicwrites;
11 extern crate hyper;
13 12
14 #[macro_use] 13 #[macro_use]
15 extern crate lazy_static; 14 extern crate lazy_static;
16 15
17 #[macro_use] 16 #[macro_use]