tokio-rs / tokio-minihttp

Protocol implementation experimentations
Apache License 2.0
448 stars 50 forks source link

Problems with compiling examples #1

Closed szagi3891 closed 8 years ago

szagi3891 commented 8 years ago
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ cargo run --example hello_world
    Updating git repository `https://github.com/tokio-rs/tokio-ssl`
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/tokio-rs/tokio`
    Updating git repository `https://github.com/carllerche/bytes`
error: no matching package named `tokio-ssl` found (required by `tokio-minihttp`)
location searched: https://github.com/tokio-rs/tokio-ssl
version required: *
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ 
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ 
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ cargo run --example ssl_server
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/carllerche/bytes`
    Updating git repository `https://github.com/tokio-rs/tokio`
    Updating git repository `https://github.com/tokio-rs/tokio-ssl`
error: no matching package named `tokio` found (required by `tokio-minihttp`)
location searched: https://github.com/tokio-rs/tokio
version required: *
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ 
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ 
grzegorz@grzegorz:~/Pulpit/rust/tokio-minihttp$ cargo --version
cargo 0.13.0-nightly (c7ffb3e 2016-08-28)
alexander-irbis commented 8 years ago

It seems that tokio is under heavy refactoring and tokio-* components structure is changed. We have to wait while minihttp will be updated in accordance with the idea.

carllerche commented 8 years ago

Gah yes! I will try to work on this tomorrow.

szagi3891 commented 8 years ago

Thank you.

chrivers commented 8 years ago

I can confirm that the example compiles now. However, it still gets a timeout with ab (apache benchmark), #2

carllerche commented 8 years ago

Sorry for the churn & delay. This should be fixed: 7d8c4491ae720ce3ee1002e1cde56cd7e684329c

szagi3891 commented 8 years ago

Cool. Thank you :)