rust-viewflow 0.1.0

Rust workflow library inspired by Viewflow, compatible with Axum and Actix-web
Documentation
[package]
name = "rust-viewflow"
version = "0.1.0"
edition = "2021"
description = "Rust workflow library inspired by Viewflow, compatible with Axum and Actix-web"
homepage = "https://github.com/viewflow/viewflow"
repository = "https://github.com/viewflow/rust-viewflow"
documentation = "https://docs.rs/rust-viewflow"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["workflow", "bpm", "axum", "actix", "sqlx"]
categories = ["web-programming", "asynchronous"]

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.3", features = ["v4"] }
async-trait = "0.1"

# Database integration
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "mysql", "sqlite", "chrono"] }

# Web framework integrations
axum = { version = "0.7", optional = true }
actix-web = { version = "4.0", optional = true }

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

[dev-dependencies]
tokio = { version = "1.0", features = ["test-util"] }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "macros"] }