我正在嘗試構建同時使用hyper和git2的東西。現在我遇到了openssl連接兩次的問題。一個由shepmaster提示我通過Cargos features和我試過,但我仍然卡住。 精確的錯誤,我在cargo build得到如下: error: native library `openssl` is being linked to by more than one version of the
我想通過使用hyper框架編寫反向代理來學習Rust。我的complete project is on GitHub。我卡在啓動監聽器explained in the documentation: extern crate hyper;
use hyper::Client;
use hyper::server::{Server, Request, Response};
use std::i
要試驗Hyper,我從the GET example開始。除此之外的事實,例如沒有編譯(no method `get` in `client`)我已經蒸我的問題一行: fn temp() {
let client = Client::new();
}
此代碼不能編譯: unable to infer enough type information about `_`; type a