[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"
required-features = ["alloc"]
[[bench]]
name = "subject_bench"
path = "benches/subject_bench.rs"
[dependencies.async-channel]
default-features = false
optional = true
version = "2.5"
[dependencies.async-std]
features = ["attributes"]
optional = true
version = "1.13"
[dependencies.event-listener]
default-features = false
features = ["portable-atomic"]
version = "5.4"
[dependencies.futures]
default-features = false
features = ["alloc", "alloc", "async-await"]
version = "0.3.31"
[dependencies.futures-channel]
default-features = false
features = ["alloc", "alloc", "sink"]
version = "0.3.31"
[dependencies.parking_lot]
default-features = false
optional = true
version = "0.12.5"
[dependencies.smol]
optional = true
version = "2.0"
[dependencies.spin]
default-features = false
features = ["mutex", "spin_mutex"]
version = "0.10.0"
[dependencies.tracing]
default-features = false
optional = true
version = "0.1.44"
[dev-dependencies.thiserror]
version = "2.0.17"
[features]
alloc = ["dep:async-channel"]
default = ["std", "runtime-tokio"]
runtime-async-std = ["std", "dep:async-std"]
runtime-embassy = ["alloc"]
runtime-smol = ["std", "dep:smol"]
runtime-tokio = ["std", "dep:tokio"]
runtime-wasm = ["alloc"]
std = ["futures/std", "futures/executor", "event-listener/std", "dep:parking_lot", "async-channel?/std"]
tracing = ["dep:tracing"]
[lib]
name = "fluxion_core"
path = "src/lib.rs"
[package]
authors = ["umberto.gotti@umbertogotti.dev"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "concurrency"]
description = "Core traits and types for ordered stream processing"
edition = "2021"
keywords = ["async", "stream", "ordered", "trait", "core"]
license = "Apache-2.0"
name = "fluxion-core"
readme = "README.md"
repository = "https://github.com/umbgtt10/fluxion"
version = "0.8.0"
[package.metadata.cargo-udeps.ignore]
normal = ["tracing", "async-std", "smol", "spin"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
default-features = false
features = ["macros", "time", "rt-multi-thread", "rt"]
optional = true
version = "1.49.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
features = ["async", "html_reports"]
version = "0.7.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
default-features = false
features = ["macros", "time", "rt-multi-thread", "macros", "rt-multi-thread"]
version = "1.49.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[[test]]
name = "all_tests"
path = "tests/all_tests.rs"
[[test]]
name = "fluxion_error_tests"
path = "tests/fluxion_error_tests.rs"
[[test]]
name = "stream_item_tests"
path = "tests/stream_item_tests.rs"
[[test]]
name = "subject_error_tests"
path = "tests/subject_error_tests.rs"