# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "interruptible" version = "0.2.4" authors = ["Azriel Hoh "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Stops a future producer or stream from producing values when interrupted." homepage = "https://github.com/azriel91/interruptible" documentation = "https://docs.rs/interruptible/" readme = "README.md" keywords = [ "interrupt", "stream", ] categories = ["asynchronous"] license = "MIT OR Apache-2.0" repository = "https://github.com/azriel91/interruptible" [package.metadata.docs.rs] features = [ "stream", "stream", ] [lib] name = "interruptible" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.futures] version = "0.3.30" [dependencies.own] version = "0.1.2" [dependencies.tokio] version = "1" features = ["sync"] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", "time", ] [features] ctrl_c = [ "tokio/rt", "tokio/signal", ] default = [] stream = ["tokio/rt"] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.93" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage_nightly)"]