-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (31 loc) · 1011 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "interruptible"
version = "0.2.4"
description = "Stops a future producer or stream from producing values when interrupted."
documentation = "https://docs.rs/interruptible/"
authors = ["Azriel Hoh <azriel91@gmail.com>"]
edition = "2021"
homepage = "https://github.com/azriel91/interruptible"
repository = "https://github.com/azriel91/interruptible"
readme = "README.md"
categories = ["asynchronous"]
keywords = ["interrupt", "stream"]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["stream", "stream"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
futures = "0.3.31"
own = "0.1.3"
tokio = { version = "1", features = ["sync"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.99"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt", "time"] }
[features]
default = []
stream = ["tokio/rt"]
ctrl_c = ["tokio/rt", "tokio/signal"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }