# 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 = "awa"
version = "0.6.0-rc.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres-native background job queue — transactional enqueue, heartbeat crash recovery, SKIP LOCKED dispatch"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/hardbyte/awa"

[features]
__python-bridge = ["awa-worker/__python-bridge"]
anyhow = ["awa-worker/anyhow"]
cel = ["awa-model/cel"]
http-worker = ["awa-worker/http-worker"]
tokio-postgres = ["awa-model/tokio-postgres"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.awa-macros]
version = "0.6.0-rc.4"

[dependencies.awa-model]
version = "0.6.0-rc.4"

[dependencies.awa-worker]
version = "0.6.0-rc.4"

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

[dev-dependencies.awa-testing]
version = "0.6.0-rc.4"

[dev-dependencies.axum]
version = "0.8"

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

[dev-dependencies.opentelemetry]
version = "0.31"
features = [
    "metrics",
    "testing",
]

[dev-dependencies.opentelemetry-otlp]
version = "0.31"
features = ["grpc-tonic"]

[dev-dependencies.opentelemetry_sdk]
version = "0.31"
features = [
    "metrics",
    "rt-tokio",
    "testing",
]

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "chrono",
    "json",
    "migrate",
    "uuid",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
    "test-util",
]

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-opentelemetry]
version = "0.32"

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

[dev-dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]
