# 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 = "celers-beat"
version = "0.1.0"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Periodic task scheduler for CeleRS (Celery Beat equivalent)"
readme = "README.md"
keywords = [
    "celery",
    "scheduler",
    "cron",
    "periodic",
    "beat",
]
categories = [
    "asynchronous",
    "date-and-time",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cool-japan/celers"

[features]
cron = ["dep:cron"]
default = []
solar = ["dep:sunrise"]

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

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

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

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

[[example]]
name = "schedule_builders"
path = "examples/schedule_builders.rs"
required-features = ["cron"]

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

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

[[example]]
name = "timezone_utilities"
path = "examples/timezone_utilities.rs"
required-features = ["cron"]

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

[[bench]]
name = "scheduler_benchmarks"
path = "benches/scheduler_benchmarks.rs"

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

[dependencies.celers-protocol]
version = "0.1.0"

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

[dependencies.chrono-tz]
version = "0.10"

[dependencies.cron]
version = "0.15.0"
optional = true

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sunrise]
version = "3.0.0"
optional = true

[dependencies.thiserror]
version = "2.0.17"

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

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

[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]
