Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 92ffd07

Browse files
authored
Merge pull request #805 from brson/faq
Update some faq entries
2 parents 62a8ac8 + 02a182b commit 92ffd07

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

en-US/faq.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ For buffered reads, use the [`BufReader`][BufReader] struct, which helps to redu
879879
How do I do asynchronous input / output in Rust?
880880
</a></h3>
881881

882-
There are several libraries providing asynchronous input / output in Rust, including [mioco](https://github.com/dpc/mioco), [coio-rs](https://github.com/zonyitoo/coio-rs), and [rotor](https://github.com/tailhook/rotor).
882+
There are several libraries providing asynchronous input / output in Rust, including [mio](https://github.com/carllerche/mio), [tokio](https://github.com/tokio-rs/tokio-core), [mioco](https://github.com/dpc/mioco), [coio-rs](https://github.com/zonyitoo/coio-rs), and [rotor](https://github.com/tailhook/rotor).
883883

884884
<h3><a href="#how-do-i-get-command-line-arguments" name="how-do-i-get-command-line-arguments">
885885
How do I get command line arguments in Rust?
@@ -1042,7 +1042,11 @@ Yes it can! There are already examples of using Rust for both [Android](https://
10421042
Can I run my Rust program in a web browser?
10431043
</a></h3>
10441044

1045-
Not yet, but there are efforts underway to make Rust compile to the web with [Emscripten](https://kripken.github.io/emscripten-site/).
1045+
Possibly. Rust has [experimental support][wasm] for both [asm.js] and [WebAssembly].
1046+
1047+
[wasm]: https://davidmcneil.gitbooks.io/the-rusty-web/
1048+
[asm.js]: http://asmjs.org/
1049+
[WebAssembly]: http://webassembly.org/
10461050

10471051
<h3><a href="#how-do-i-cross-compile-rust" name="how-do-i-cross-compile-rust">
10481052
How do I cross-compile in Rust?
@@ -1179,7 +1183,10 @@ Quoting the [official explanation](https://internals.rust-lang.org/t/crates-io-p
11791183
How can I make an HTTP request?
11801184
</a></h3>
11811185

1182-
The standard library does not include an implementation of HTTP, so you will want to use an external crate. [Hyper](https://github.com/hyperium/hyper) is the most popular, but there are [a number of others as well](https://crates.io/keywords/http).
1186+
The standard library does not include an implementation of HTTP, so you will want to use an external crate.
1187+
[reqwest](http://docs.rs/reqwest) is the simplest.
1188+
It is built on [hyper](https://github.com/hyperium/hyper), and written in Rust, but there are [a number of others as well](https://crates.io/keywords/http).
1189+
The [curl](https://docs.rs/curl) crate is widely used and provides bindings to the curl library.
11831190

11841191
<h3><a href="#how-can-i-write-a-gui-application" name="how-can-i-write-a-gui-application">
11851192
How can I write a GUI application in Rust?

0 commit comments

Comments
 (0)