# 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 = "moadim"
version = "0.9.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Moadim.io MCP/REST server for managing cron jobs"
homepage = "https://github.com/moadim-io/daemon"
readme = "README.md"
license = "MIT"
repository = "https://github.com/moadim-io/daemon"

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"

[dependencies.croner]
version = "3"

[dependencies.dirs]
version = "5"

[dependencies.iana-time-zone]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.rmcp]
version = "1.7.0"
features = [
    "server",
    "macros",
    "transport-io",
    "transport-streamable-http-server",
]

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.toml]
version = "0.8"

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[build-dependencies.serde_json]
version = "1"

[lints.clippy]
all = "deny"
min_ident_chars = "deny"
missing_docs_in_private_items = "deny"

[lints.rust]
missing_docs = "deny"

[profile.release.package.ui]
opt-level = "z"
