# 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 = "2024"
rust-version = "1.85"
name = "aion-rs"
version = "0.6.1"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport-agnostic Aion workflow engine with durability, replay, timers, and supervision."
documentation = "https://docs.rs/aion-rs"
readme = "README.md"
keywords = [
    "aion",
    "workflow",
    "durable-execution",
    "engine",
    "replay",
]
categories = [
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomWhiting/aion"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aion-core]
version = "0.6.1"

[dependencies.aion-package]
version = "0.6.1"

[dependencies.aion-store]
version = "0.6.1"
features = ["recorder-write-token"]

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

[dependencies.beamr]
version = "0.6.1"
features = ["json"]

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

[dependencies.dashmap]
version = "6.2"

[dependencies.futures]
version = "0.3"

[dependencies.rand_chacha]
version = "0.10.0"

[dependencies.rand_core]
version = "0.10.1"

[dependencies.saffron]
version = "0.1"
features = ["std"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "serde",
]

[dev-dependencies.aion-package]
version = "0.6.1"
features = ["test-support"]

[dev-dependencies.beamr]
version = "0.6.1"
features = [
    "json",
    "test-support",
]

[dev-dependencies.fs4]
version = "1.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[lints.clippy]
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
