extern crate hyper;
extern crate serde;
extern crate serde_json as json;
extern crate lazers_changes_stream;

use lazers_changes_stream::changes_stream::ChangesStream;

use hyper::Client;
use hyper::header::Connection;

fn main() {
    // Create a client.
    let client = Client::new();

    // Creating an outgoing request.
    let res = client.get("http://localhost:5984/test/_changes?feed=continuous&include_docs=true")
        // set a header
        .header(Connection::close())
        // let 'er go!
        .send().unwrap();

    let stream: ChangesStream<_,json::Value> = ChangesStream::new(res);

    for change in stream.changes() {
        println!("{:?}", change);
    }
}


extern crate hyper;
extern crate serde;
extern crate serde_json as json;
extern crate syncdb_changes_stream;

use syncdb_changes_stream::changes_stream::ChangesStream;

use hyper::Client;
use hyper::header::Connection;

fn main() {
    // Create a client.
    let client = Client::new();

    // Creating an outgoing request.
    let res = client.get("http://localhost:5984/test/_changes?feed=continuous&include_docs=true")
        // set a header
        .header(Connection::close())
        // let 'er go!
        .send().unwrap();

    let stream: ChangesStream<_,json::Value> = ChangesStream::new(res);

    for change in stream.changes() {
        println!("{:?}", change);
    }
}


--- 
+++ 
@@ -1,9 +1,9 @@
 extern crate hyper;
 extern crate serde;
 extern crate serde_json as json;
-extern crate syncdb_changes_stream;
+extern crate lazers_changes_stream;
 
-use syncdb_changes_stream::changes_stream::ChangesStream;
+use lazers_changes_stream::changes_stream::ChangesStream;
 
 use hyper::Client;
 use hyper::header::Connection;
Remove last trace of syncdb
