Update
For modern Rust, see this answer.
Original answer
You need to pass the -L
flag to rustc
to add the directory which contains the compiled http library to the search path. Something like rustc -L path-to-cloned-rust-http-repo/build your-source-file.rs
should do.