##
#  Copyright 2025 Colliery Software
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
##

[package]
name = "cloacina-workflow"
description = "Minimal types for authoring Cloacina workflows without runtime dependencies"
version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
readme.workspace = true
edition = "2021"

[features]
default = ["macros"]
macros = ["cloacina-macros", "tokio"]
packaged = []

[dependencies]
cloacina-macros = { workspace = true, optional = true }
async-trait = { workspace = true }
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.10"
croner = "2"
serde = { version = "1.0", features = ["derive"] }
serde_json = { workspace = true }
thiserror = "1.0"
rand = "0.8"
tracing = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "time"], optional = true }

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