# 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.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres-native background job queue for Rust and Python"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/hardbyte/awa"

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

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

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

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

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

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

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

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

[[test]]
name = "scale_test"
path = "tests/scale_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.2.0"

[dependencies.awa-model]
version = "0.2.0"

[dependencies.awa-worker]
version = "0.2.0"

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

[dev-dependencies.awa-testing]
version = "0.2.0"

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

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

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

[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",
]

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

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

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