rustvello 0.8.0

Distributed task queue and workflow runtime for Rust and Python: typed tasks, retries, priorities, triggers and pluggable backends
# 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"
rust-version = "1.85"
name = "rustvello"
version = "0.8.0"
authors = ["Luis Diaz <code.luis.diaz@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed task queue and workflow runtime for Rust and Python: typed tasks, retries, priorities, triggers and pluggable backends"
homepage = "https://rustvello.readthedocs.io"
readme = "README.md"
keywords = [
    "task-queue",
    "distributed",
    "workflow",
    "background-jobs",
    "celery",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/pynenc/rustvello"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["mem"]
fault-injection = ["rustvello-core/fault-injection"]
full = [
    "mem",
    "sqlite",
    "redis",
    "mongodb",
    "mongodb3",
    "rabbitmq",
    "postgres",
    "tls",
]
mem = ["dep:rustvello-mem"]
mongodb = ["dep:rustvello-mongo"]
mongodb3 = ["dep:rustvello-mongo3"]
postgres = ["dep:rustvello-postgres"]
postgres-fault-injection = [
    "postgres",
    "fault-injection",
    "rustvello-postgres/fault-injection",
]
rabbitmq = ["dep:rustvello-rabbitmq"]
rayon = ["dep:rayon"]
redis = ["dep:rustvello-redis"]
sqlite = ["dep:rustvello-sqlite"]
sqlite-fault-injection = [
    "sqlite",
    "fault-injection",
    "rustvello-sqlite/fault-injection",
]
tls = ["rustvello-postgres?/tls"]

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

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

[[example]]
name = "network_worker"
path = "examples/network_worker.rs"
required-features = ["postgres"]

[[example]]
name = "readme_quickstart"
path = "examples/readme_quickstart.rs"
required-features = ["sqlite"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "broker_bench"
path = "benches/broker_bench.rs"
harness = false

[[bench]]
name = "orchestrator_bench"
path = "benches/orchestrator_bench.rs"
harness = false

[[bench]]
name = "runner_bench"
path = "benches/runner_bench.rs"
harness = false

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

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

[dependencies.cistell-core]
version = "0.1.2"
features = [
    "toml",
    "tracing",
]

[dependencies.croner]
version = "3"

[dependencies.glob]
version = "0.3"

[dependencies.inventory]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.rustvello-core]
version = "0.8.0"

[dependencies.rustvello-macros]
version = "0.8.0"

[dependencies.rustvello-mem]
version = "0.8.0"
optional = true

[dependencies.rustvello-mongo]
version = "0.8.0"
optional = true

[dependencies.rustvello-mongo3]
version = "0.8.0"
optional = true

[dependencies.rustvello-postgres]
version = "0.8.0"
optional = true

[dependencies.rustvello-proto]
version = "0.8.0"

[dependencies.rustvello-rabbitmq]
version = "0.8.0"
optional = true

[dependencies.rustvello-redis]
version = "0.8.0"
optional = true

[dependencies.rustvello-sqlite]
version = "0.8.0"
optional = true

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

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

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

[dependencies.toml]
version = "0.7"

[dependencies.tracing]
version = "0.1"

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

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

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

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

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

[dev-dependencies.tempfile]
version = "3"

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

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

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

[lints.clippy]
clone_on_ref_ptr = "warn"
map_unwrap_or = "warn"
module_name_repetitions = "allow"
redundant_closure_for_method_calls = "warn"
unnecessary_wraps = "warn"
wildcard_imports = "warn"

[lints.rust]
unsafe_code = "deny"