# 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 = "2024"
rust-version = "1.85.0"
name = "schedx"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scheduler CLI for recurring jobs, agent prompts, and webhooks"
homepage = "https://github.com/Alireza29675/schedx"
readme = "README.md"
keywords = [
    "scheduler",
    "cron",
    "cli",
    "automation",
    "agent",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/Alireza29675/schedx"

[[bin]]
name = "schedx"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.cron]
version = "0.15"

[dependencies.ctrlc]
version = "3"

[dependencies.dirs]
version = "6"

[dependencies.flate2]
version = "1"

[dependencies.fs4]
version = "0.12"

[dependencies.libc]
version = "0.2"

[dependencies.nanoid]
version = "0.4"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.shell-words]
version = "1"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
version = "3"
features = [
    "json",
    "rustls",
]
default-features = false

[dependencies.url]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.insta]
version = "1"
features = ["json"]

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

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
