# 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.95"
name = "dione"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Discord MCP channel server for Claude Code"
readme = "README.md"
keywords = [
    "discord",
    "mcp",
    "claude-code",
    "bot",
    "channel",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/butterflyskies/dione"

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1"

[dependencies.camino]
version = "1"
features = ["serde1"]

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
    "std",
]
default-features = false

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

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

[dependencies.color-eyre]
version = "0.6"

[dependencies.mitex]
version = "0.2.4"

[dependencies.notify]
version = "8"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serenity]
version = "0.12"
features = [
    "client",
    "gateway",
    "model",
    "http",
    "rustls_backend",
    "cache",
]
default-features = false

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "sync",
    "fs",
    "io-util",
    "io-std",
    "time",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.toml]
version = "1"

[dependencies.toml_edit]
version = "0.25"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "registry",
]

[dependencies.typst]
version = "0.14.2"

[dependencies.typst-as-lib]
version = "0.15.4"

[dependencies.typst-assets]
version = "0.14.2"
features = ["fonts"]

[dependencies.typst-render]
version = "0.14.2"

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

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

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

[dev-dependencies.test-case]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]

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