async-flow 0.1.1

Async abstractions for flow-based programming (FBP).
Documentation
# 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 = "2024"
name = "async-flow"
version = "0.1.1"
authors = ["Arto Bendiken"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async abstractions for flow-based programming (FBP)."
homepage = "https://async-flow.rs"
readme = "README.md"
keywords = [
    "fbp",
    "flow",
    "dataflow",
    "async",
]
categories = [
    "asynchronous",
    "concurrency",
    "rust-patterns",
    "no-std",
]
license = "Unlicense"
repository = "https://github.com/artob/async-flow"

[features]
all = [
    "stream",
    "tokio",
]
default = [
    "all",
    "std",
]
flume = ["dep:flume"]
serde = [
    "dep:serde",
    "dep:serde_json",
]
std = [
    "dogma/std",
    "replace_with/std",
    "tokio?/io-std",
    "tokio?/io-util",
]
stream = ["dep:tokio-stream"]
tokio = ["dep:tokio"]
unstable = []

[lib]
name = "async_flow"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "echo_lines"
path = "examples/echo_lines/main.rs"

[[example]]
name = "sqrt"
path = "examples/sqrt.rs"

[dependencies.async-trait]
version = "0.1"
default-features = false

[dependencies.dogma]
version = "0.1"
features = ["traits"]
default-features = false

[dependencies.flume]
version = "0.12"
features = ["async"]
optional = true
default-features = false

[dependencies.replace_with]
version = "0.1"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_json]
version = "1"
optional = true
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1.49"
features = [
    "macros",
    "rt",
    "sync",
]
optional = true
default-features = false

[dependencies.tokio-stream]
version = "0.1"
optional = true
default-features = false