Skip to content

Commit

Permalink
Merge pull request rust-lang#348 from whitequark/patch-1
Browse files Browse the repository at this point in the history
Document no_std support
  • Loading branch information
alexcrichton authored Jan 13, 2017
2 parents 7499d98 + da58079 commit 95a51bc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ For more information about how you can use futures with async I/O you can take a
look at [https://tokio.rs](https://tokio.rs) which is an introduction to both
the Tokio stack and also futures.

### Feature `use_std`

`futures-rs` works without the standard library, such as in bare metal environments.
However, it has a significantly reduced API surface. To use `futures-rs` in
a `#[no_std]` environment, use:

```toml
[dependencies]
futures = { version = "0.1", default-features = false }
```

# License

`futures-rs` is primarily distributed under the terms of both the MIT license and
Expand Down

0 comments on commit 95a51bc

Please sign in to comment.