From de5bab37ac6396ac5ecfbdbf28c5476da7d2f542 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 10 May 2017 11:04:46 -0700 Subject: [PATCH 1/3] Update faq re async I/O --- en-US/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en-US/faq.md b/en-US/faq.md index 0872db4d9..756fc0054 100644 --- a/en-US/faq.md +++ b/en-US/faq.md @@ -879,7 +879,7 @@ For buffered reads, use the [`BufReader`][BufReader] struct, which helps to redu How do I do asynchronous input / output in Rust? -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). +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).

How do I get command line arguments in Rust? From 33e8e5a731c991b732a89e92f55ea9a52dfb0d65 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 10 May 2017 11:06:14 -0700 Subject: [PATCH 2/3] Update faq re emscripten --- en-US/faq.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/en-US/faq.md b/en-US/faq.md index 756fc0054..dc42c0b38 100644 --- a/en-US/faq.md +++ b/en-US/faq.md @@ -1042,7 +1042,11 @@ Yes it can! There are already examples of using Rust for both [Android](https:// Can I run my Rust program in a web browser?

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

How do I cross-compile in Rust? From 02a182b23b67b93a43ef7c77a50cd4492a5b2ca3 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 10 May 2017 11:09:11 -0700 Subject: [PATCH 3/3] Update faq re http --- en-US/faq.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/en-US/faq.md b/en-US/faq.md index dc42c0b38..0d0e2110b 100644 --- a/en-US/faq.md +++ b/en-US/faq.md @@ -1183,7 +1183,10 @@ Quoting the [official explanation](https://internals.rust-lang.org/t/crates-io-p How can I make an HTTP request?

-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). +The standard library does not include an implementation of HTTP, so you will want to use an external crate. +[reqwest](http://docs.rs/reqwest) is the simplest. +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). +The [curl](https://docs.rs/curl) crate is widely used and provides bindings to the curl library.

How can I write a GUI application in Rust?