Use an out-of-tree unsafe-any trait instead of a home-grown version.

This has the advantage of being separately checked, tested
and documented.
This commit is contained in:
Jonathan Reem
2014-09-07 09:49:10 +02:00
parent 4d77477c83
commit 5f24bcecd4
3 changed files with 7 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ extern crate time;
extern crate url;
#[phase(plugin,link)] extern crate log;
#[cfg(test)] extern crate test;
extern crate "unsafe-any" as uany;
pub use std::io::net::ip::{SocketAddr, IpAddr, Ipv4Addr, Ipv6Addr, Port};
pub use mimewrapper::mime;