macro syntax changes
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#![feature(macro_rules, phase)]
|
|
||||||
|
|
||||||
extern crate hyper;
|
extern crate hyper;
|
||||||
#[phase(plugin, link)] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
|
|
||||||
use std::io::util::copy;
|
use std::io::util::copy;
|
||||||
use std::io::net::ip::Ipv4Addr;
|
use std::io::net::ip::Ipv4Addr;
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
#![feature(macro_rules, phase, default_type_params,
|
#![feature(slicing_syntax, old_orphan_check)]
|
||||||
slicing_syntax, globs, associated_types,
|
|
||||||
old_orphan_check)]
|
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
#![experimental]
|
#![experimental]
|
||||||
@@ -131,7 +129,7 @@ extern crate "rustc-serialize" as serialize;
|
|||||||
extern crate time;
|
extern crate time;
|
||||||
extern crate url;
|
extern crate url;
|
||||||
extern crate openssl;
|
extern crate openssl;
|
||||||
#[phase(plugin,link)] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
#[cfg(test)] extern crate test;
|
#[cfg(test)] extern crate test;
|
||||||
extern crate "unsafe-any" as uany;
|
extern crate "unsafe-any" as uany;
|
||||||
extern crate cookie;
|
extern crate cookie;
|
||||||
@@ -166,7 +164,7 @@ macro_rules! inspect(
|
|||||||
);
|
);
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
#[macro_escape]
|
#[macro_use]
|
||||||
mod mock;
|
mod mock;
|
||||||
|
|
||||||
pub mod client;
|
pub mod client;
|
||||||
|
|||||||
Reference in New Issue
Block a user