[package] name = "callbag" version = "0.14.0" authors = ["Teoh Han Hui "] edition = "2021" rust-version = "1.58" description = "Rust implementation of the callbag spec for reactive/iterable programming" repository = "https://github.com/teohhanhui/callbag-rs" license = "MIT OR Apache-2.0" keywords = ["frp", "iterable", "observable", "reactive", "stream"] categories = ["asynchronous", "concurrency"] [dependencies] arc-swap = "1.5.0" async_executors = { version = "0.5.1", optional = true } async_nursery = { version = "0.4.0", default-features = false, optional = true } never = "0.1.0" paste = { version = "1.0.6", optional = true } [dev-dependencies] assert_matches = "1.5.0" crossbeam-queue = "0.3.3" test-log = { version = "0.2.8", default-features = false, features = ["trace"] } tracing = "0.1.29" tracing-futures = "0.2.5" tracing-subscriber = { version = "0.3.5", features = ["env-filter"] } [target.'cfg(not(all(target_arch = "wasm32", target_os = "wasi")))'.dev-dependencies] async-std = { version = "1.10.0", features = ["attributes", "unstable"] } async_executors = { version = "0.5.1", features = ["async_std", "tracing"] } async_nursery = { version = "0.4.0", features = ["tracing"] } [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies] async_executors = { version = "0.5.1", features = ["timer"] } wasm-bindgen-test = "0.3.28" [features] default = [ "combine", "concat", "filter", "flatten", "for_each", "from_iter", "interval", "map", "merge", "pipe", "scan", "share", "skip", "take", ] browser = [] combine = ["paste"] concat = [] filter = [] flatten = [] for_each = [] from_iter = [] interval = ["async_executors", "async_nursery"] map = [] merge = [] pipe = [] scan = [] share = [] skip = [] take = [] [lib] doctest = false [[test]] name = "combine" required-features = ["combine"] [[test]] name = "concat" required-features = ["concat"] [[test]] name = "filter" required-features = ["filter"] [[test]] name = "flatten" required-features = ["flatten"] [[test]] name = "for_each" required-features = ["for_each"] [[test]] name = "from_iter" required-features = ["from_iter"] [[test]] name = "interval" required-features = ["interval"] [[test]] name = "map" required-features = ["map"] [[test]] name = "merge" required-features = ["merge"] [[test]] name = "pipe" required-features = ["pipe"] [[test]] name = "scan" required-features = ["scan"] [[test]] name = "share" required-features = ["share"] [[test]] name = "skip" required-features = ["skip"] [[test]] name = "take" required-features = ["take"]