| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "futures-timer" |
| 15 |
version = "3.0.4" |
| 16 |
authors = ["Alex Crichton <[email protected]>"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = """ |
| 24 |
Timeouts for futures. |
| 25 |
""" |
| 26 |
homepage = "https://github.com/async-rs/futures-timer" |
| 27 |
documentation = "https://docs.rs/futures-timer" |
| 28 |
readme = "README.md" |
| 29 |
license = "MIT/Apache-2.0" |
| 30 |
repository = "https://github.com/async-rs/futures-timer" |
| 31 |
|
| 32 |
[features] |
| 33 |
wasm-bindgen = [ |
| 34 |
"gloo-timers", |
| 35 |
"send_wrapper", |
| 36 |
] |
| 37 |
|
| 38 |
[lib] |
| 39 |
name = "futures_timer" |
| 40 |
path = "src/lib.rs" |
| 41 |
|
| 42 |
[[test]] |
| 43 |
name = "smoke" |
| 44 |
path = "tests/smoke.rs" |
| 45 |
|
| 46 |
[[test]] |
| 47 |
name = "timeout" |
| 48 |
path = "tests/timeout.rs" |
| 49 |
|
| 50 |
[dev-dependencies.async-std] |
| 51 |
version = "1.13" |
| 52 |
features = ["attributes"] |
| 53 |
|
| 54 |
[dev-dependencies.futures] |
| 55 |
version = "0.3.1" |
| 56 |
|
| 57 |
[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers] |
| 58 |
version = "0.4.0" |
| 59 |
features = ["futures"] |
| 60 |
optional = true |
| 61 |
|
| 62 |
[target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper] |
| 63 |
version = "0.6.0" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[lints.rust.unexpected_cfgs] |
| 67 |
level = "warn" |
| 68 |
priority = 0 |
| 69 |
check-cfg = ["cfg(assert_timer_heap_consistent)"] |