bpm-engine 0.2.0

Lightweight embeddable BPM runtime for long-running, stateful workflows with tokens, timers, Saga compensation, and crash recovery
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 = "2021"
name = "bpm-engine"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight embeddable BPM runtime for long-running, stateful workflows with tokens, timers, Saga compensation, and crash recovery"
homepage = "https://github.com/fanjia1024/bpm-engine"
documentation = "https://docs.rs/bpm-engine"
readme = "README.md"
keywords = [
    "bpm",
    "workflow",
    "engine",
    "process",
    "orchestration",
]
categories = [
    "algorithms",
    "concurrency",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/fanjia1024/bpm-engine"

[features]
api = [
    "axum",
    "tokio",
    "tower-http",
]
default = []
observability = [
    "metrics",
    "metrics-exporter-prometheus",
]

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

[[bin]]
name = "bpm-engine"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.7"
optional = true

[dependencies.bpm-engine-adapter-memory]
version = "0.2.0"

[dependencies.bpm-engine-bpmn]
version = "0.2.0"

[dependencies.bpm-engine-core]
version = "0.2.0"

[dependencies.bpm-engine-runtime]
version = "0.2.0"

[dependencies.bpm-engine-storage]
version = "0.2.0"

[dependencies.metrics]
version = "0.23"
optional = true

[dependencies.metrics-exporter-prometheus]
version = "0.15"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tower-http]
version = "0.5"
features = ["cors"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.reqwest]
version = "0.11"
features = ["json"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]