rust-viewflow 0.1.0

Rust workflow library inspired by Viewflow, compatible with Axum and Actix-web
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 = "rust-viewflow"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust workflow library inspired by Viewflow, compatible with Axum and Actix-web"
homepage = "https://github.com/viewflow/viewflow"
documentation = "https://docs.rs/rust-viewflow"
readme = "README.md"
keywords = [
    "workflow",
    "bpm",
    "axum",
    "actix",
    "sqlx",
]
categories = [
    "web-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/viewflow/rust-viewflow"

[features]
actix = ["dep:actix-web"]
axum = ["dep:axum"]
default = ["axum"]

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

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

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

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

[dependencies.actix-web]
version = "4.0"
optional = true

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "mysql",
    "sqlite",
    "chrono",
]

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.uuid]
version = "1.3"
features = ["v4"]

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "sqlite",
    "macros",
]

[dev-dependencies.tokio]
version = "1.0"
features = ["test-util"]