[package]
edition = "2021"
name = "crabflow"
version = "0.1.0"
authors = ["Guillaune Leroy <pro.guillaume.leroy@gmail.com>"]
description = "Task orchestrator."
readme = "README.md"
license = "MIT"
repository = "https://github.com/leroyguillaume/crabflow"
[package.metadata.docs.rs]
all-features = true
[lib]
crate-type = [
"cdylib",
"lib",
]
[dependencies.chrono]
version = "0"
[dependencies.pyo3]
version = "0"
features = [
"experimental-async",
"extension-module",
]
optional = true
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"time",
]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.mockall]
version = "0"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[features]
default = ["tokio"]
py = [
"dep:pyo3",
"tokio",
]
tokio = []