|
1 |
| -# futures-timer |
| 1 | +<h1 align="center">futures-timer</h1> |
| 2 | +<div align="center"> |
| 3 | + <strong> |
| 4 | + Timeouts for futures. |
| 5 | + </strong> |
| 6 | +</div> |
2 | 7 |
|
3 |
| -[Documentation](https://docs.rs/futures-timer) |
| 8 | +<br /> |
4 | 9 |
|
5 |
| -A library for working with timers, timeouts, and intervals with the `futures` |
6 |
| -crate. |
| 10 | +<div align="center"> |
| 11 | + <!-- Crates version --> |
| 12 | + <a href="https://crates.io/crates/futures-timer"> |
| 13 | + <img src="https://img.shields.io/crates/v/futures-timer.svg?style=flat-square" |
| 14 | + alt="Crates.io version" /> |
| 15 | + </a> |
| 16 | + <!-- Downloads --> |
| 17 | + <a href="https://crates.io/crates/futures-timer"> |
| 18 | + <img src="https://img.shields.io/crates/d/futures-timer.svg?style=flat-square" |
| 19 | + alt="Download" /> |
| 20 | + </a> |
| 21 | + <!-- docs.rs docs --> |
| 22 | + <a href="https://docs.rs/futures-timer"> |
| 23 | + <img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" |
| 24 | + alt="docs.rs docs" /> |
| 25 | + </a> |
| 26 | + <a href="https://discord.gg/JvZeVNe"> |
| 27 | + <img src="https://img.shields.io/discord/598880689856970762.svg?logo=discord&style=flat-square" |
| 28 | + alt="chat" /> |
| 29 | + </a> |
| 30 | +</div> |
7 | 31 |
|
8 |
| -# License |
| 32 | +<div align="center"> |
| 33 | + <h3> |
| 34 | + <a href="https://docs.rs/futures-timer"> |
| 35 | + API Docs |
| 36 | + </a> |
| 37 | + <span> | </span> |
| 38 | + <a href="https://github.com/async-rs/futures-timer/releases"> |
| 39 | + Releases |
| 40 | + </a> |
| 41 | + <span> | </span> |
| 42 | + <a href="https://async.rs/contribute"> |
| 43 | + Contributing |
| 44 | + </a> |
| 45 | + </h3> |
| 46 | +</div> |
9 | 47 |
|
10 |
| -This project is licensed under either of |
| 48 | +## Installation |
11 | 49 |
|
12 |
| - * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or |
13 |
| - http://www.apache.org/licenses/LICENSE-2.0) |
14 |
| - * MIT license ([LICENSE-MIT](LICENSE-MIT) or |
15 |
| - http://opensource.org/licenses/MIT) |
| 50 | +With [cargo add][cargo-add] installed run: |
16 | 51 |
|
17 |
| -at your option. |
| 52 | +```sh |
| 53 | +$ cargo add futures-timer |
| 54 | +``` |
18 | 55 |
|
19 |
| -### Contribution |
| 56 | +[cargo-add]: https://github.com/killercup/cargo-edit |
20 | 57 |
|
| 58 | +## Safety |
| 59 | +This crate makes use of carefully checked `unsafe` blocks to construct an |
| 60 | +efficient timer implementation. |
| 61 | + |
| 62 | +## Contributing |
| 63 | +Want to join us? Check out our ["Contributing" guide][contributing] and take a |
| 64 | +look at some of these issues: |
| 65 | + |
| 66 | +- [Issues labeled "good first issue"][good-first-issue] |
| 67 | +- [Issues labeled "help wanted"][help-wanted] |
| 68 | + |
| 69 | +[contributing]: https://github.com/async-rs/futures-timer/blob/master.github/CONTRIBUTING.md |
| 70 | +[good-first-issue]: https://github.com/async-rs/futures-timer/labels/good%20first%20issue |
| 71 | +[help-wanted]: https://github.com/async-rs/futures-timer/labels/help%20wanted |
| 72 | + |
| 73 | +## License |
| 74 | + |
| 75 | +<sup> |
| 76 | +Licensed under either of <a href="LICENSE-APACHE">Apache License, Version |
| 77 | +2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option. |
| 78 | +</sup> |
| 79 | + |
| 80 | +<br/> |
| 81 | + |
| 82 | +<sub> |
21 | 83 | Unless you explicitly state otherwise, any contribution intentionally submitted
|
22 |
| -for inclusion in this project by you, as defined in the Apache-2.0 license, |
23 |
| -shall be dual licensed as above, without any additional terms or conditions. |
| 84 | +for inclusion in this crate by you, as defined in the Apache-2.0 license, shall |
| 85 | +be dual licensed as above, without any additional terms or conditions. |
| 86 | +</sub> |
0 commit comments