acts 0.19.0

a fast, lightweight, extensiable workflow engine
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 = "acts"
version = "0.19.0"
authors = ["Yao <yaojianpin@sohu.com>"]
build = false
include = [
    "src/**/*",
    "LICENSE",
    "README.md",
    "!**/tests/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a fast, lightweight, extensiable workflow engine"
homepage = "https://docs.rs/acts"
readme = "README.md"
keywords = ["workflow"]
license = "Apache-2.0"
repository = "https://github.com/yaojianpin/acts.git"

[features]
async-nats = ["dep:async-nats"]
default = []
store-nats = [
    "async-nats",
    "futures",
]
store-postgres = [
    "sqlx",
    "sqlx/postgres",
    "sqlx/tls-rustls",
]
store-redis = ["redis"]
store-sled = ["sled"]
store-sqlite = [
    "sqlx",
    "sqlx/sqlite",
]

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

[dependencies.async-nats]
version = "0.49.1"
optional = true

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

[dependencies.chrono]
version = "0.4"

[dependencies.dashmap]
version = "6.1.0"

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

[dependencies.globset]
version = "0.4"
default-features = false

[dependencies.inventory]
version = "0.3.20"

[dependencies.jsonschema]
version = "0.30.0"
default-features = false

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.nanoid]
version = "0.4"

[dependencies.redis]
version = "0.27"
optional = true

[dependencies.regex]
version = "1.10"

[dependencies.rquickjs]
version = "0.9"
features = [
    "macro",
    "parallel",
]

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_repr]
version = "0.1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sled]
version = "0.34"
optional = true

[dependencies.sqlx]
version = "0.8"
features = ["runtime-tokio"]
optional = true

[dependencies.strum]
version = "0.27"
features = [
    "derive",
    "derive",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.52"
features = [
    "full",
    "full",
    "macros",
]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.toml]
version = "0.8.22"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "async_tokio",
    "async_futures",
]

[dev-dependencies.serial_test]
version = "3"
features = ["async"]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true