Use #![crate_name] instead of the deprecated #![crate_id]
The port field of Url is now a number, not a String
url.path is now a Path, not a String
Merge pull request #108 from riccieri/liburl-fixes

Fixes for the liburl changes
Nightlies have changed to_str -> to_string

This is with:

rustc 0.11.0-nightly (1c711db551b9a5e56ba76e002e287dcfbb2cff3c 2014-07-09 00:36:40 +0000)

I assume it's going to be a breaking change, so here it is.
Merge pull request #109 from pcn/fix-to-str-to-string

Nightlies have changed to_str -> to_string
Fix a couple of missed to_str() → to_string().
Change the codegen tactic to cope with hygiene.

Hygiene means that `include!` is practically useless now.
The new approach is just writing out a full module and passing the
stream to a function in it.
Latest rust
Use std's SocktAddr::fmt
Merge pull request #110 from brycefisher/latest-rust-fmt

Latest rust fmt
Switch to rust-url
Merge remote-tracking branch 'upstream/master' into rust-url
Replace a.get(n) with a[n].
Avoid mutation in a match guard.
Remove stray line from merge conflict.
Add the rust-url dependency to Cargo.toml
Remove impl Seek for MemWriterFakeStream.

Its seekability wasn’t being used, and so in light of the changes made
in rust-lang/rust#15915 it should be removed, rather than switching from
the now-unseekable ``MemWriter`` to the new ``SeekableMemWriter``.

This necessitated adding the ``get_ref`` method which was added to
``MemWriter`` at some point.
Fix build for certain BSD systems

* BSD's don't have bash in this location. /bin/sh works here perfectly.
* BSD's have GNU make as gmake. Test for it and use it accordingly.
Merge pull request #117 from mneumann/master

Fix build for certain BSD systems