dataflow-rs 3.0.0

A lightweight rules engine for building IFTTT-style automation and data processing pipelines in Rust. Define rules with JSONLogic conditions, execute actions, and chain workflows.
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"
rust-version = "1.85"
name = "dataflow-rs"
version = "3.0.0"
authors = ["Plasmatic Engineering <shankar@goplasmatic.io>"]
build = false
exclude = [
    ".DS_Store",
    "/target",
    ".vscode",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight rules engine for building IFTTT-style automation and data processing pipelines in Rust. Define rules with JSONLogic conditions, execute actions, and chain workflows."
homepage = "https://github.com/GoPlasmatic/dataflow-rs"
readme = "README.md"
keywords = [
    "rules-engine",
    "ifttt",
    "automation",
    "jsonlogic",
    "workflow",
]
categories = [
    "data-structures",
    "development-tools",
    "config",
]
license = "Apache-2.0"
repository = "https://github.com/GoPlasmatic/dataflow-rs"

[features]
default = []
wasm-web = [
    "chrono/wasmbind",
    "getrandom/wasm_js",
    "uuid/js",
]

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "workflow_engine_test"
path = "tests/workflow_engine_test.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bumpalo]
version = "3.14"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
    "serde",
]
default-features = false

[dependencies.datalogic-rs]
version = "5.0"
features = [
    "serde_json",
    "templating",
]

[dependencies.datavalue]
version = "0.2.1"
features = [
    "serde",
    "serde_json",
]
package = "datavalue-rs"

[dependencies.getrandom]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.quick-xml]
version = "0.37"
features = ["serialize"]

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dependencies.uuid]
version = "1.23"
features = [
    "v7",
    "std",
]
default-features = false

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.num_cpus]
version = "1.17"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1

[profile.release.package.dataflow-wasm]
opt-level = "s"