[package]
edition = "2024"
name = "foxtive-supervisor"
version = "0.4.1"
authors = ["ahmard"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Foxtive Supervisor - Advanced task supervision for Rust applications"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foxtive/foxtive-cron"
[features]
cron = [
"foxtive-cron",
"chrono",
"chrono-tz",
]
default = []
distributed = [
"redis",
"chrono",
]
foxtive-app = ["dep:foxtive"]
[lib]
name = "foxtive_supervisor"
path = "src/lib.rs"
[[example]]
name = "event_listener"
path = "examples/event_listener.rs"
[[test]]
name = "cascading_shutdown_tests"
path = "tests/cascading_shutdown_tests.rs"
[[test]]
name = "circuit_breaker_tests"
path = "tests/circuit_breaker_tests.rs"
[[test]]
name = "complex_dependency_tests"
path = "tests/complex_dependency_tests.rs"
[[test]]
name = "concurrency_tests"
path = "tests/concurrency_tests.rs"
[[test]]
name = "conditional_deps_tests"
path = "tests/conditional_deps_tests.rs"
[[test]]
name = "cron_tests"
path = "tests/cron_tests.rs"
[[test]]
name = "dependency_race_condition_tests"
path = "tests/dependency_race_condition_tests.rs"
[[test]]
name = "distributed_coordination_tests"
path = "tests/distributed_coordination_tests.rs"
[[test]]
name = "distributed_unit_tests"
path = "tests/distributed_unit_tests.rs"
[[test]]
name = "dynamic_management_tests"
path = "tests/dynamic_management_tests.rs"
[[test]]
name = "edge_cases_tests"
path = "tests/edge_cases_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "event_tests"
path = "tests/event_tests.rs"
[[test]]
name = "group_tests"
path = "tests/group_tests.rs"
[[test]]
name = "hierarchy_integration_tests"
path = "tests/hierarchy_integration_tests.rs"
[[test]]
name = "hot_reload_tests"
path = "tests/hot_reload_tests.rs"
[[test]]
name = "lifecycle_tests"
path = "tests/lifecycle_tests.rs"
[[test]]
name = "persistence_benchmarks"
path = "tests/persistence_benchmarks.rs"
[[test]]
name = "persistence_tests"
path = "tests/persistence_tests.rs"
[[test]]
name = "prerequisite_tests"
path = "tests/prerequisite_tests.rs"
[[test]]
name = "real_world_examples"
path = "tests/real_world_examples.rs"
[[test]]
name = "shutdown_tests"
path = "tests/shutdown_tests.rs"
[[test]]
name = "task_pool_tests"
path = "tests/task_pool_tests.rs"
[[test]]
name = "testing_util_tests"
path = "tests/testing_util_tests.rs"
[dependencies.async-trait]
version = "0.1.91"
[dependencies.chrono]
version = "0.4.45"
optional = true
[dependencies.chrono-tz]
version = "0.10.4"
optional = true
[dependencies.foxtive]
version = "1.0.0"
optional = true
[dependencies.foxtive-cron]
version = "0.6.0"
optional = true
[dependencies.futures]
version = "0.3.34"
[dependencies.futures-util]
version = "0.3.34"
[dependencies.rand]
version = "0.10.2"
[dependencies.redis]
version = "1.6.0"
features = ["tokio-comp"]
optional = true
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tokio]
version = "1.53.1"
features = [
"rt-multi-thread",
"time",
"sync",
"macros",
"fs",
"io-util",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.24.1"
features = [
"v4",
"fast-rng",
"macro-diagnostics",
]
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]