File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,16 @@ extern crate num_cpus;
139139extern crate traitobject;
140140extern crate typeable;
141141
142+ #[ macro_use]
143+ extern crate mime as mime_crate;
144+
142145#[ macro_use]
143146extern crate log;
144147
145148#[ cfg( all( test, feature = "nightly" ) ) ]
146149extern crate test;
147150
148151
149- pub use mimewrapper:: mime;
150152pub use url:: Url ;
151153pub use client:: Client ;
152154pub use error:: { Result , Error } ;
@@ -185,9 +187,9 @@ pub mod uri;
185187pub mod version;
186188
187189
188- mod mimewrapper {
189- /// Re-exporting the mime crate, for convenience.
190- extern crate mime ;
190+ /// Re-exporting the mime crate, for convenience.
191+ pub mod mime {
192+ pub use mime_crate :: * ;
191193}
192194
193195#[ allow( unconditional_recursion) ]
You can’t perform that action at this time.
0 commit comments