dataflow-rs 4.0.1

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.98"
name = "dataflow-rs"
version = "4.0.1"
authors = ["Plasmatic Engineering <shankar@goplasmatic.io>"]
build = false
include = [
    "/src",
    "/bindings",
    "/README.md",
    "/CHANGELOG.md",
    "/CONTRIBUTING.md",
    "/SECURITY.md",
    "/LICENSE",
]
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."
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"

[package.metadata.docs.rs]
features = [
    "datetime",
    "tensor",
    "budget",
]

[features]
budget = ["datalogic-rs/budget"]
datetime = ["datalogic-rs/datetime"]
default = []
tensor = [
    "datalogic-rs/tensor",
    "datavalue/tensor",
]
ts = ["dep:ts-rs"]
wasm-web = [
    "chrono/wasmbind",
    "uuid/js",
    "datalogic-rs/wasm-clock",
]

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

[dependencies.bumpalo]
version = "3.20"

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

[dependencies.dataflow-rs-derive]
version = "=4.0.1"

[dependencies.datalogic-rs]
version = "5.9.0"
features = [
    "serde_json",
    "templating",
    "ext-string",
    "ext-array",
    "ext-math",
    "ext-control",
    "ext-object",
    "error-handling",
]

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

[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.log]
version = "0.4"

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

[dependencies.self_cell]
version = "1.3"

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

[dependencies.serde_json]
version = "1.0"
features = [
    "float_roundtrip",
    "preserve_order",
]

[dependencies.ts-rs]
version = "12.0.1"
features = ["no-serde-warnings"]
optional = true

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

[dependencies.web-time]
version = "1.1"

[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",
    "time",
    "sync",
    "macros",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.28"
features = ["fast-rng"]
default-features = false

[lints.clippy]
use_self = "warn"

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

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