# 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.88"
name = "moadim"
version = "0.27.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Loop engine for AI agents — routines over REST, MCP, and a built-in web UI"
homepage = "https://moadim.io"
readme = "README.md"
keywords = [
    "scheduler",
    "mcp",
    "automation",
    "rest",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
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.clap]
version = "4"
features = ["derive"]

[dependencies.croner]
version = "3"

[dependencies.dirs]
version = "6"

[dependencies.env_logger]
version = "0.11"

[dependencies.gethostname]
version = "1"

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

[dependencies.log]
version = "0.4"

[dependencies.rmcp]
version = "2.0.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 = "1.1"

[dependencies.tower]
version = "0.5"
features = [
    "limit",
    "util",
]

[dependencies.tower-http]
version = "0.7"
features = [
    "catch-panic",
    "compression-gzip",
]

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

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

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

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
all = "deny"
allow_attributes_without_reason = "deny"
case_sensitive_file_extension_comparisons = "deny"
cloned_instead_of_copied = "deny"
dbg_macro = "deny"
derive_partial_eq_without_eq = "deny"
doc_markdown = "deny"
explicit_into_iter_loop = "deny"
explicit_iter_loop = "deny"
format_push_string = "deny"
if_not_else = "deny"
items_after_statements = "deny"
manual_let_else = "deny"
manual_string_new = "deny"
map_unwrap_or = "deny"
match_same_arms = "deny"
min_ident_chars = "deny"
missing_docs_in_private_items = "deny"
needless_collect = "deny"
needless_pass_by_ref_mut = "deny"
needless_pass_by_value = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
semicolon_if_nothing_returned = "deny"
single_match_else = "deny"
todo = "deny"
trivially_copy_pass_by_ref = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
unnecessary_debug_formatting = "deny"
unreadable_literal = "deny"
unused_async = "deny"
unused_self = "deny"
unwrap_used = "deny"
use_self = "deny"
wildcard_imports = "deny"

[lints.rust]
missing_docs = "deny"

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